[翻译] 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.

 

目录
相关文章
|
XML Java Android开发
[翻译]IAdaptable是什么?
IAdaptable在Eclipse里是一个非常重要的接口。对于Eclipse开发老手来说,它就像异常处理和抽象类一样寻常;但是对新手而言,它却令人感到困惑和畏惧。这篇文章将向你解释IAdaptable到底是什么,以及它在Eclipse里起到的作用。
1177 0
|
开发者 iOS开发
|
网络架构 iOS开发 Perl