Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
dz_TZImagePickerController
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shuijing
dz_TZImagePickerController
Commits
1ff4ef55
Commit
1ff4ef55
authored
Jan 08, 2016
by
Zhen Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create README.md
parent
96b2c0db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
README.md
README.md
+42
-0
No files found.
README.md
0 → 100644
View file @
1ff4ef55
# TZImagePickerController
A clone of UIImagePickerController, support picking multiple photos、original photo、video, also allow preview photo and video, fitting iOS6789 system.
一个支持多选、选原图和视频的图片选择器,同时有预览功能,适配了iOS6789系统。
!
[
image
](
https://github.com/banchichen/TZImagePickerController/blob/master/Screenshots/photoPickerVc.png
)
!
[
image
](
https://github.com/banchichen/TZImagePickerController/blob/master/Screenshots/photoPreviewVc.png
)
!
[
image
](
https://github.com/banchichen/TZImagePickerController/blob/master/Screenshots/videoPlayerVc.png
)
## 一. Installation 安装
*
CocoaPods:pod 'TZImagePickerController', '~> 1.0.0'
*
手动导入:将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 cearte pull requests.
More infomation please view code.
如果你发现了bug,请提一个issue。
欢迎给我提pull requests。
更多信息见代码,也可查看我的博客:
[
我的博客
](
http://www.cnblogs.com/tanzhenblog/
"半尺尘 - 博客园"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment