NSLocationWhenInUsageDescription 提示不弹出
NSLocationWhenInUsageDescription prompt doesn't pop up
当我 运行 应用程序时,NSLocationWhenInUsageDescription 提示出现一次,但在 运行 它多次出现后再也没有出现。
该应用仍在放大到当前位置和 Apple 位置。
应用可以运行,但没有弹出问题。
根据文档:https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/index.html#//apple_ref/occ/instm/CLLocationManager/requestWhenInUseAuthorization,无论您点击 "Allow" 还是 "Deny",该问题只会被问一次。但您仍然可以在“设置”应用、“隐私设置”、“位置服务”和您的特定应用中看到描述。视图底部应显示描述文本。
当我 运行 应用程序时,NSLocationWhenInUsageDescription 提示出现一次,但在 运行 它多次出现后再也没有出现。
该应用仍在放大到当前位置和 Apple 位置。
应用可以运行,但没有弹出问题。
根据文档:https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/index.html#//apple_ref/occ/instm/CLLocationManager/requestWhenInUseAuthorization,无论您点击 "Allow" 还是 "Deny",该问题只会被问一次。但您仍然可以在“设置”应用、“隐私设置”、“位置服务”和您的特定应用中看到描述。视图底部应显示描述文本。