A multi-select, select the original image and video picture selector, while preview function, fit the iOS8910 system. 一个支持多选、选原图和视频(年后添加)的图片选择器,同时有预览功能,适配了iOS8910系统。
在Xcode8环境下将项目运行在iOS10的设备/模拟器中,访问相册和相机需要额外配置info.plist文件。分别是Privacy - Photo Library Usage Description和Privacy - Camera Usage Description字段。
// MARK: 这些参数都可以不传,此时会走默认设置, 也可以通过代理回调
let imagePickerVC = LKImagePickerController(maxImagesCount: 9, columnNumber: 4, delegate: self, true) {
(images, assets, isSelectOriginalPhoto) in
}
self.present(imagePickerVC, animated: true, completion: nil)
iOS 8 或更高版本。需要 ARC
iOS8及以上系统可用。ARC 环境下。
如果您发现 bug,请创建 issue。
欢迎提交 pull request。
如果发现了 bug,请提交 issue。
欢迎给我提 pull request。