安卓源代码高性能多选图片库

时间:2016-08-04 22:19 来源:互联网 作者:源码搜藏收藏

  • 源码类别:图片ImageView
  • 源码大小:900 MB
  • 编码格式:gbk,utf8,不限
  • 运行环境:php+mysql
  • 广告推荐

JFImagePicker

高性能多选图片库

 

功能

多选照片

预览已选照片

针对超大图片优化

Podfile

platform :ios, '7.0'
pod 'JFImagePicker'

How to Use

Import
#import "JFImagePickerController.h"

@interface ViewController () <JFImagePickerDelegate>

@end
Load JFImagePicker
JFImagePickerController *picker = [[JFImagePickerController alloc] initWithRootViewController:nil];
picker.pickerDelegate = self;
[self presentViewController:picker animated:YES completion:nil];
Delegate Method
- (void)imagePickerDidFinished:(JFImagePickerController *)picker{ 
    //picker.assets is all choices photo
    [picker dismissViewControllerAnimated:YES completion:nil];
}

- (void)imagePickerDidCancel:(JFImagePickerController *)picker{
    [picker dismissViewControllerAnimated:YES completion:nil];
}
Load Thumb UIImage
[[JFImageManager sharedManager] thumbWithAsset:asset resultHandler:^(UIImage *result) {
    //do something
}];
Load UIImage for best size
[[JFImageManager sharedManager] imageWithAsset:asset resultHandler:^(UIImage *result) {
    //do something
}];
clear
[JFImagePickerController clear];  //clear datas

本站资源仅限于学习研究,严禁从事商业或者非法活动! 源码搜藏网所有源码来自互联网转载与用户上传分享,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!

图片ImageView下载排行

最新文章