Latest2.0.2
Homepagehttps://github.com/GREENBANYAN/PrivacyPermission
LicenseMIT
Platformsios 8.0, requires ARC
Authors

License 
Platform 
Support 
Cocoapods 
Language 

   PrivacyPermission is a library for accessing various system privacy permissions,you can use it for more friendly access.

Privacy Permission Supported

  • Photo
    • Privacy – Photo Library Usage Description
  • Camera
    • Privacy – Camera Usage Description
  • Media
    • Privacy – Media Library Usage Description
  • Microphone
    • Privacy – Microphone Usage Description
  • Location
    • Privacy – Location Usage Description
    • Privacy – Location Always Usage Description
    • Privacy – Location When In Use Usage Description
  • Bluetooth
    • Privacy – Bluetooth Peripheral Usage Description
  • PushNotification
  • Speech
    • Privacy – Speech Recognition Usage Description
  • Event
    • Privacy – Calendars Usage Description
  • Contact
    • Privacy – Contacts Usage Description
  • Reminder
    • Privacy – Reminders Usage Description
  • Health
    • Privacy – Health Share Usage Description
    • Privacy – Health Update Usage Description

Preview

mainpage CNmainpage USA
Asset/screenshot-CN.pngAsset/screenshot-USA.png

GIF Animated CNGIF Animated USA
Asset/GIF-CN.gifAsset/GIF-USA.gif

License

PrivacyPermissionuse MIT license

Installation with cocoapods

 pod 'PrivacyPermission'

Usage

EXAMPLE

     [[PrivacyPermission sharedInstance]accessPrivacyPermissionWithType:PrivacyPermissionTypePhoto completion:^(BOOL response, PrivacyPermissionAuthorizationStatus status) {
          NSLog(@"response:%d n status:%ld",response,status);
     }];

CHANGELOG

  • Version 2.0.1
 delete func releate to 'HealthyKit' 
  • Version 2.0.2
    eliminate the warning

Latest podspec

{
    "name": "PrivacyPermission",
    "version": "2.0.2",
    "summary": "PrivacyPermission is a library for accessing various system privacy permissions .",
    "description": "PrivacyPermission is a library for accessing various system privacy permissions,you can use it for more friendly access.",
    "homepage": "https://github.com/GREENBANYAN/PrivacyPermission",
    "license": "MIT",
    "authors": {
        "GREENBANYAN": "@[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/GREENBANYAN/PrivacyPermission.git",
        "tag": "2.0.2"
    },
    "source_files": "PrivacyPermission/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This