/ImagePickerSheetViewController

模仿IOS8的图片选择器

Primary LanguageObjective-CMIT LicenseMIT

ImagePickerSheetViewController

Installation 安装

  • CocoaPods:pod 'ImagePickerSheetViewController'
  • 手动导入:将ImagePickerSheet\ImagePickerSheetViewController文件夹拽入项目中,导入头文件:#import "ImagePickerSheetViewController.h",依赖LFImagePickerController
  • 开启编辑功能:pod 'LFImagePickerController/LFMediaEdit'

调用代码

  • ImagePickerSheetViewController *imagePicker = [[ImagePickerSheetViewController alloc] init]; [imagePicker showImagePickerInController:self animated:YES];

  • [imagePicker showImagePickerInController:self animated:YES];

  • 设置代理方法,按钮实现

  • imagePicker.delegate;

图片展示

image

image