iOS開源:CBPic2ker - 圖片選擇,不但酷而且美還支持人臉識別
效果
特性
- 酷
- 給你絲滑的美
- 人臉識別
版本要求
- iOS 8.0
安裝
CBPic2ker 已經支持了 CocoaPods. 只要在你的 Podfile 文件中添加下面的語句即可:
pod "CBPic2ker"
不要忘記在 info.plist
文件中添加描述:
使用
聲明
#import "CBPic2ker.h"
調起
CBPhotoSelecterController *controller = [[CBPhotoSelecterController alloc] initWithDelegate:self];
controller.columnNumber = 4;
controller.maxSlectedImagesCount = 5;
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:controller];
[self presentViewController:nav animated:YES completion:nil];
代理事件
- (void)photoSelecterController:(CBPhotoSelecterController *)pickerController sourceAsset:(NSArray *)sourceAsset {
/...
}
- (void)photoSelecterDidCancelWithController:(CBPhotoSelecterController *)pickerController {
/...
}
作者
cbangchen, cbangchen007@gmail.com
版權聲明??
CBPic2ker is available under the MIT license. See the LICENSE file for more info.
項目主頁:http://www.baiduhome.net/lib/view/home/1497488687489
本文由用戶 monkeye 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!