leeeeeeeefulong / CBPic2ker

王颖博fork-图片选择器。A cool photo selecter, will blow your mind.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cbangchen Version License Platform

Effect

Features

  • Cool
  • Smooth
  • Face Recognition

Requirements

  • iOS 8.0

Installation

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.

Usage

Import

#import "CBPic2ker.h"

Call

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];

Delegate

- (void)photoSelecterController:(CBPhotoSelecterController *)pickerController sourceAsset:(NSArray *)sourceAsset {
	/...
}
- (void)photoSelecterDidCancelWithController:(CBPhotoSelecterController *)pickerController {
   /...
}

Author

cbangchen, cbangchen007@gmail.com

License

CBPic2ker is available under the MIT license. See the LICENSE file for more info.

About

王颖博fork-图片选择器。A cool photo selecter, will blow your mind.

License:MIT License


Languages

Language:Objective-C 99.7%Language:Ruby 0.3%