SLCPhotoLibraryManager
相册辅助工具
pod 'SLCPhotoLibraryManager'
#import <SLCPhotoLibraryManager.h>
系统相册数据
NSArray <SLCPhotoLibraryModel *>*array = [[SLCPhotoLibraryManager shared] getLibrarys];
SLCPhotoModel *model = array.firstObject.photos.firstObject;
self.imageView.image = [UIImage imageWithContentsOfFile:model.imageFile];
保存到相册
[[SLCPhotoLibraryManager shared] saveImage:self.imageView.image completionHandle:^(BOOL isSuccess, NSError *error) {
}];
高清截图
[[SLCPhotoLibraryManager shared] captureView:self.view isSave:YES completionHandle:^(BOOL isSuccess, NSError *error) {
}];