Latest 2.0.0
Homepage https://github.com/GREENBANYAN/PrivacyPermission
License MIT
Platforms ios 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 CN mainpage USA
Asset/screenshot-CN.png Asset/screenshot-USA.png

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

License

PrivacyPermissionuse MIT license

Installation with cocoapods

 pod 'PrivacyPermission'

screenshot/cocoapods.png

Usage

EXAMPLE

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

Latest podspec

{
    "name": "PrivacyPermission",
    "version": "2.0.0",
    "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.0"
    },
    "source_files": "PrivacyPermission/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This