CLImagePickerTool
github: https://github.com/Darren-chenchen/CLImagePickerTool
语言:swift 这是一个多图片选择的控件,支持图片多选,视频预览、照片预览、屏蔽视频文件、重置选中状态、预览、异步下载图片
使用方式
pod ‘CLImagePickerTool’
建议使用下面的方式及时下载最新版
pod ‘CLImagePickerTool’, :git => ‘https://github.com/Darren-chenchen/CLImagePickerTool.git’
简介
1.基本用法,默认相机选择在内部、图片多选、支持选择视频文件
// superVC 当前的控制器
let imagePickTool = CLImagePickersTool()
imagePickTool.setupImagePickerWith(MaxImagesCount: 6, superVC: self) { (asset,cutImage) in
print("返回的asset数组是\(asset)") }
2.设置相机选择在外部 imagePickTool.cameraOut = true
let imagePickTool = CLImage