- Cool
- Smooth
- Face Recognition
- iOS 8.0
TLPhotoPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
platform :ios, '10.0'
pod "CBPic2ker"
Don't forget the Privacy Description in 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, [email protected]
CBPic2ker is available under the MIT license. See the LICENSE file for more info.