Latest 1.1.6
Homepage https://github.com/nicreals/TZImagePickerController
License MIT
Platforms ios 6.0, requires ARC
Authors

TZImagePickerController

A clone of UIImagePickerController, support picking multiple photos、original photo、video, also allow preview photo and video, fitting iOS6789 system.
一个支持多选、选原图和视频的图片选择器,同时有预览功能,适配了iOS6789系统。

tip: 发布后不久,陆陆续续发现一些bug,表示抱歉…目前版本已到1.1.1,修复了从发布到现在发现的一些bug。如果你发现了bug,请先拉一下最新的代码,如果bug还在请提一个issue。从目前的情况看,已经发现的bug都解决了,现在的表现还算较好~

image
image
image

一. Installation 安装

  • CocoaPods:pod ‘TZImagePickerController’, ‘~> 1.1.1’
  • 手动导入:将TZImagePickerController文件夹拽入项目中,导入头文件:#import "TZImagePickerController.h"

二. Example 例子

TZImagePickerController *imagePickerVc = [[TZImagePickerController alloc] initWithMaxImagesCount:9 delegate:self];

// You can get the photos by block, the same as by delegate.
// 你可以通过block或者代理,来得到用户选择的照片.
[imagePickerVc setDidFinishPickingPhotosHandle:^(NSArray<UIImage *> *photos, NSArray *assets) {

}];
[self presentViewController:imagePickerVc animated:YES completion:nil];

三. Requirements 要求

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

When system version is iOS6 or iOS7, Using AssetsLibrary.
When system version is iOS 8 or later, Using PhotoKit.
如果运行在iOS6或7系统上,用的是AssetsLibrary库获取照片资源。
如果运行在iOS8及以上系统上,用的是PhotoKit库获取照片资源。

四. More 更多

If you find a bug, please create a issue.
Welcome to pull requests.
More infomation please view code.
如果你发现了bug,请提一个issue。
欢迎给我提pull requests。
更多信息详见代码,也可查看我的博客: 我的博客

Latest podspec

{
    "name": "NRImagePickerController",
    "version": "1.1.6",
    "summary": "A  multiple imagepicker for iOS 6 or later with ALasset PHasset.",
    "homepage": "https://github.com/nicreals/TZImagePickerController",
    "license": "MIT",
    "authors": {
        "nic_reals": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/nicreals/TZImagePickerController.git",
        "tag": "1.1.6"
    },
    "requires_arc": true,
    "resources": "TZImagePickerController/TZImagePickerController/Resource/*.{png,xib,nib}",
    "source_files": "TZImagePickerController/TZImagePickerController/*.{h,m}"
}

Pin It on Pinterest

Share This