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

ZHAuthorization

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

cocoapods support

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

其他的权限类此

Latest podspec

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

Pin It on Pinterest

Share This