Latest 1.1.6
Homepage https://github.com/full-of-fire/YJImagePickerController
License MIT
Platforms ios 8.0, requires ARC
Frameworks Photos, AVFoundation
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.
1.相册的多选功能

YJImagePickerController *albumsList = [YJImagePickerController new];
albumsList.didFinishPickingImages = ^(NSArray *images) {

NSLog(@"====images = %@",images);
};
albumsList.didCancel = ^{

NSLog(@"取消选择");
};
[self presentViewController:albumsList animated:YES completion:nil];

2.多拍相机的使用

YJMulCameraViewController *camera = [YJMulCameraViewController new];
camera.didFinishTakeImagesBlock = ^(NSArray *images) {

NSLog(@"====images = %@",images);
};
camera.didCancelBlock = ^{
NSLog(@"取消");
};
[self presentViewController:camera animated:YES completion:nil];

3.相册预览功能

YJImagePrewViewController *preView = [YJImagePrewViewController new];

YJImageModel *model = [YJImageModel new];
model.imageURL = [NSURL URLWithString:@"https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=4115900726,1603453606&fm=173&s=38B75894034017490198B48F030070C8&w=218&h=146&img.JPEG"];
preView.photoList = @[model,model,model,model,model,model];
[self presentViewController:preView animated:YES completion:nil];

Requirements

Installation

YJImagePickerController is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'YJImagePickerController'

Author

full-of-fire, [email protected]

License

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

Latest podspec

{
    "name": "YJImagePickerController",
    "version": "1.1.6",
    "summary": "iOS8u4ee5u4e0au4e00u4e2au7b80u5355u56feu7247u9009u62e9u5c01u88c5,u652fu6301u62cdu7167u548cu76f8u518cu9009u62e9",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "frameworks": [
        "Photos",
        "AVFoundation"
    ],
    "description": "u7b80u5355u6613u7528",
    "homepage": "https://github.com/full-of-fire/YJImagePickerController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "full-of-fire": "[email protected]"
    },
    "source": {
        "git": "https://github.com/full-of-fire/YJImagePickerController.git",
        "tag": "1.1.6"
    },
    "source_files": "YJImagePickerController/Classes/**/*.{h,m}",
    "resource_bundles": {
        "YJImagePickerController": [
            "YJImagePickerController/Classes/**/*.{xib}",
            "YJImagePickerController/Assets/**/*.png"
        ]
    }
}

Pin It on Pinterest

Share This