SLCPhotoLibraryManager 0.1.2

SLCPhotoLibraryManager 0.1.2

Maintained by yang666.



  • By
  • WeiKunChao

SLCPhotoLibraryManager

Carthage compatible CocoaPods compatible License: MIT

相册辅助工具

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) {



}];