InstagramPhotoPicker
Present Image Picker like Instagram.
展示图片选择器,像Instagram这款应用一样.
With CocoaPods, add this line to your Podfile.
使用CocoaPods安装,将下面这行代码添加到你的Podfile中即可.
pod 'TWPhotoPicker', '~> 1.0.0'
Usage - 使用
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.