ZZPhotoDatas.h
886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// ZZPhotoDatas.h
// ZZFramework
//
// Created by Yuan on 15/12/17.
// Copyright © 2015年 zzl. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ZZResourceConfig.h"
@interface ZZPhotoDatas : NSObject
/*
* 获取全部相册
*/
-(NSMutableArray *) GetPhotoListDatas;
/*
* 获取某一个相册的结果集
*/
-(PHFetchResult *) GetFetchResult:(PHAssetCollection *)collection;
/*
* 获取图片实体,并把图片结果存放到数组中,返回值数组
*/
-(NSMutableArray *) GetPhotoAssets:(PHFetchResult *)fetchResult;
/*
* 只获取相机胶卷结果集
*/
-(PHFetchResult *) GetCameraRollFetchResul;
/*
* 回调方法使用数组
*/
-(void) GetImageObject:(id)asset complection:(void (^)(UIImage *,NSURL *))complection;
-(void)GetImageObject:(id)assets complections:(void (^)(UIImage *, BOOL isDegraded))complection;
@end