https://github.com/YouXianMing

[翻译] InstagramPhotoPicker

InstagramPhotoPicker

Present Image Picker like Instagram.

展示图片选择器,像Instagram这款应用一样.

Installation - 安装

With CocoaPods, add this line to your Podfile.

使用CocoaPods安装,将下面这行代码添加到你的Podfile中即可.

pod 'TWPhotoPicker', '~> 1.0.0'

Screenshots - 截图

Usage - 使用

    TWPhotoPickerController *photoPicker = [[TWPhotoPickerController alloc] init];
    photoPicker.cropBlock = ^(UIImage *image) {
        //do something
    };
    [self presentViewController:photoPicker animated:YES completion:NULL];

Requirements - 需要

  • iOS 7 or higher
  • Automatic Reference Counting (ARC)

Author - 作者

License - 版权

TWPhotoPicker is released under the MIT license. See the LICENSE file for more info.

 

posted @ 2015-01-23 22:36  YouXianMing  阅读(421)  评论(0编辑  收藏  举报