ZHAuthorization
iOS 系统各种权限请求和判断
cocoapods 支持
pod 'ZHAuthorization'
//请求使用位置权限
[ZHAuthManager requestAuthorization:AuthTypeLocationAlways authorizedResult:^(BOOL granted) {
//do something
}];
iOS 系统各种权限请求和判断
pod 'ZHAuthorization'
//请求使用位置权限
[ZHAuthManager requestAuthorization:AuthTypeLocationAlways authorizedResult:^(BOOL granted) {
//do something
}];