iOS 11出现了四种定位隐私设置
Privacy - Location Always and When In Use Usage Description
Privacy - Location Always Usage Description
Privacy - Location When In Use Usage Description
Privacy - Location Usage Description
iOS 11不能定位问题
//必须选上,不选上的话,其他三种定位隐私即使设置了也不会出现定位效果
Privacy - Location Always and When In Use Usage Description
log日志会出现如下错误提示
This app has attempted to access privacy-sensitive data without a usage description.
The app's Info.plist must contain both NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationWhenInUseUsageDescription keys with