UIImage *seletedImage = [UIImage systemImageNamed:@"checkmark.seal.fill"];
NSDictionary *music_dict = [NSDictionary dictionaryWithObjects:@[
[UIImage systemImageNamed:@"camera.fill"],
seletedImage,
@"手机相机",
@"APP需要您的同意,才能访问相机进行拍摄商品信息,如禁止将无法拍照拍摄图片无法更新信息",
@(SimplePermissionType_Camera)]
forKeys:@[
@"iconImage",
@"selectedImage",
@"name",
@"describe",
@"type"]];
[SimplePermission showAuthorizeControllerWithType:@[music_dict] toViewController:self];
-
Notifications
You must be signed in to change notification settings - Fork 0
YangsCalvin/SimplePermission
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
一个简单的权限框架,首次启动应用程序,然后依次请求所需的权限。
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published