【发布时间】:2017-10-31 10:39:47
【问题描述】:
我刚刚在 iOS 11 中安装了我的应用程序并运行该应用程序并获取当前用户位置。但我不会,它在 iOS 10 中运行良好。
【问题讨论】:
-
请点击以下链接将对您有所帮助。 stackoverflow.com/questions/4152003/…
标签: ios xcode plist core-location ios11
我刚刚在 iOS 11 中安装了我的应用程序并运行该应用程序并获取当前用户位置。但我不会,它在 iOS 10 中运行良好。
【问题讨论】:
标签: ios xcode plist core-location ios11
我添加了新密钥 NSLocationAlwaysAndWhenInUseUsageDescription 和旧密钥之一 NSLocationWhenInUseUsageDescription,位置服务再次正常工作。
【讨论】: