AKUAssetManager 1.0.1

AKUAssetManager 1.0.1

测试已测试
Lang语言 Obj-CObjective C
许可协议 MIT
发布最新发布2020年4月

akuraru 维护。



  • akuraru

AKUAssetManager

Version License Platform

易于检查摄像头/相册的授权状态。

如果无法访问摄像头或相册,此库会显示警告提示。

screenshot

特性

  • 易于检查摄像头/相册的授权状态。
  • 支持 iPad
  • 直接跳转至应用的配置(iOS8〜)

用法

尝试示例项目: pod try AKUAssetManager

- (void)viewDidLoad {
    [super viewDidLoad];
    self.manager = [[AKUImagePickerManager alloc] init];
}
// if allow to use camera, present UIImagePickerController
- (IBAction)openCamera:(id)sender {
    [self.manager openCameraWithDelegate:self];
}
// if allow to use photo, open UIImagePickerController
- (IBAction)openPhoto:(id)sender {
    [self.manager openPhotoAlbumWithDelegate:self inView:sender];
}

安装

AKUAssetManager 可通过 CocoaPods 获得。要安装它,只需将以下行添加到 Podfile 中

pod "AKUAssetManager"

待办

  • 本地化

作者

akuraru, [emailNEUTrailedprotected]

许可

ACommon assetManager根据MIT许可可用。请参阅LICENSE文件以获取更多信息。