Present Image Picker like Instagram
With CocoaPods, add this line to your Podfile.
pod 'TWPhotoPicker', '~> 1.0.0'
TWPhotoPickerController *photoPicker = [[TWPhotoPickerController alloc] init];
photoPicker.cropBlock = ^(UIImage *image) {
//do something
};
[self presentViewController:photoPicker animated:YES completion:NULL];
- iOS 7 or higher
- Automatic Reference Counting (ARC)
TWPhotoPicker is released under the MIT license. See the LICENSE file for more info.