得得

开源

TZImagePickerController

一个支持多选、选原图和视频的图片选择器,同时有预览、裁剪功能,支持iOS6+。 A clone of UIImagePickerController, support picking multiple photos、original photo、video, also allow preview photo and video, support iOS6+
MIT开源 快速上手
最新版本:3.4.3     更新时间:2020-09-24
重要提示2:3.7.5版本修复了iOS15.2下初次授权相册权限时的长时间卡顿&白屏问题,强烈建议尽快更新
PHAuthorizationStatusLimited授权模式下,iOS14模拟器有bug,未授权照片无法显示,真机正常,暂可忽略:https://github.com/banchichen/TZImagePickerController/issues/1347,在Xcode8环境下将项目运行在iOS10的设备/模拟器中,访问相册和相机需要额外配置info.plist文件。分别是Privacy - Photo Library Usage Description和Privacy - Camera Usage Description字段,详见Demo中info.plist中的设置。,
一. Installation 安装
pod 'TZImagePickerController' #iOS8 and later pod 'TZImagePickerController', '2.2.6' #iOS6、iOS7,github "banchichen/TZImagePickerController",将TZImagePickerController文件夹拽入项目中,导入头文件:#import "TZImagePickerController.h"
三. Requirements 要求
iOS 6 or later. Requires ARC iOS6及以上系统可使用. ARC环境.,When system version is iOS6 or iOS7, Using AssetsLibrary. When system version is iOS8 or later, Using PhotoKit. 如果运行在iOS6或7系统上,用的是AssetsLibrary库获取照片资源。 如果运行在iOS8及以上系统上,用的是PhotoKit库获取照片资源。,TZImagePickerController uses Camera、Location、Microphone、Photo Library,you need add these properties to info.plist like Demo: TZImagePickerController使用了相机、定位、麦克风、相册,请参考Demo添加下列属性到info.plist文件: Privacy - Camera Usage Description Privacy - Location Usage Description Privacy - Location When In Use Usage Description Privacy - Microphone Usage Description Privacy - Photo Library Usage Description Prevent limited photos access alert
研发人员
TZImagePickerController的研发团队来自五湖四海,期待你的加入。
谭真
Wilson
Shaojie Hong