Latest 1.1.0
Homepage https://github.com/ZHIOSLIB/ZHAuthorizationManager
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, CoreTelephony, CoreLocation, AVFoundation, Photos, AssetsLibrary, Contacts, AddressBook, EventKit, Intents, Speech
Authors

ZHAuthorization

iOS系统各种权限请求、判断

支持cocoapods导入

pod 'ZHAuthorization'
//请求使用位置权限
[[ZHAuthorizationManager defaultManager] requestAuthorization:AuthorizationTypeLocationAlways authorizedResult:^(BOOL granted) {
   //do something 
}];

其他的权限类此

Latest podspec

{
    "name": "ZHAuthorizationManager",
    "version": "1.1.0",
    "summary": "u7cfbu7edfu6743u9650",
    "description": "iOSu7cfbu7edfu5404u79cdu6743u9650u8bf7u6c42u3001u5224u65ad",
    "homepage": "https://github.com/ZHIOSLIB/ZHAuthorizationManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "leezhihua": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ZHIOSLIB/ZHAuthorizationManager.git",
        "tag": "1.1.0"
    },
    "source_files": "ZHAuthorizationManager/Classes/*.{h,m}",
    "frameworks": [
        "Foundation",
        "CoreTelephony",
        "CoreLocation",
        "AVFoundation",
        "Photos",
        "AssetsLibrary",
        "Contacts",
        "AddressBook",
        "EventKit",
        "Intents",
        "Speech"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This