Skip to content

xiaonan0527/AQPhotoPicker

 
 

Repository files navigation

The AQPhotoPicker Master Repo

This repository contains the public AQPhotoPicker specifications.

Welcome to the AQPhotoPicker!

It's a cool Photo Picker app for iOS (tested on iPhone, not on iPad yet), and quite easy to use. With this control, you can capture photos from iPhone camera or select photos from album by implementing only one callback method.

Requirements

Your iOS project. (Tested on iOS versions 7.0 and 7.1. Should work on previous versions as well)

Note: This is ARC-enabled code. You'll need Xcode 4.2 and OS X 10.6, at least.

Installation

Either clone and copy the following three files in your project:

AQPhotoPickerView.h

AQPhotoPickerView.m

AQPhotoPickerView.xib

Or use CocoaPods.

Usage

Do #import "TTImagePickerView.h" in your own class, and implement the delegate TTImagePickerViewDelegate.

You're all set. Now all you've to do is write this code [AQPhotoPickerView presentInViewController:self]; on the image tap method, or button click, or for whatever event you want photo picker to appear.

And finally implement this delegate to received the photo from PhotoPicker or Camera.

-(void)photoFromImagePickerView:(UIImage*) photo {
    
    [imageViewPic setImage:photo];
}

DONE.

ios photo picker

ios photo picker

ios photo picker, camera

ios Photo picker, camera

License

These specifications and CocoaPods are available under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 92.7%
  • Ruby 7.3%