Skip to content

一个支持多选、选原图和视频的图片选择器,同时有预览功能。

License

Notifications You must be signed in to change notification settings

lessSource/LImagePicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LImagePicker

一个支持多选、选原图和视频的图片选择器,同时有预览功能。

Example

let imagePicker = LImagePickerController(delegate: self)
imagePicker.modalPresentationStyle = .custom
self.present(imagePicker, animated: true, completion: nil)

extension ViewController: LImagePickerDelegate {
    func imagePickerController(_ picker: LImagePickerController, photos: [UIImage], asset: [PHAsset]) {
    }
}

Requirements 要求

iOS10.0及以上系统可使用. ARC环境.

LImagePicker使用了相机、麦克风、相册,请参考Demo添加下列属性到info.plist文件:

Privacy - Camera Usage Description

Privacy - Microphone Usage Description

Privacy - Photo Library Usage Description

About

一个支持多选、选原图和视频的图片选择器,同时有预览功能。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published