Latest 1.0.0
Homepage https://github.com/ymkil/LKImagePicker
License MIT
Platforms ios 8.0, requires ARC
Authors

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字段。

image

image

一. Installation 安装

  • CocoaPods:由于各种原因pod search搜索不到,请直接pod ‘LKImagePicker’, ‘~> 1.0’,pod install 是能下载的。导入模块:import LKImagePicker
  • 手动导入:将LKImagePicker文件夹拽入项目中

二. Example 例子

// MARK: 这些参数都可以不传,此时会走默认设置, 也可以通过代理回调
let imagePickerVC =  LKImagePickerController(maxImagesCount: 9, columnNumber: 4, delegate: self, true) {
    (images, assets, isSelectOriginalPhoto) in

}

self.present(imagePickerVC, animated: true, completion: nil)

三. Requirements 要求

iOS 8 or later. Requires ARC
iOS8及以上系统可使用. ARC环境.

四. More 更多

If you find a bug, please create a issue.
Welcome to pull requests.
如果你发现了bug,请提一个issue。
欢迎给我提pull requests。

Latest podspec

{
    "name": "LKImagePicker",
    "version": "1.0.0",
    "summary": "A clone of TZImagePickerController, support picking multiple photosu3001original photo and video",
    "homepage": "https://github.com/ymkil/LKImagePicker",
    "license": "MIT",
    "authors": {
        "Mkil": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ymkil/LKImagePicker.git",
        "tag": "1.0.0"
    },
    "requires_arc": true,
    "resources": "LKImagePicker/*.{png,xib,nib,bundle}",
    "source_files": "LKImagePicker/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This