TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jun 2017 |
Maintained by cbangchen.
中文介绍,请点击此处。
CBPic2ker is available through CocoaPods. To install it, simply add the following line to your Podfile:
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.