我刚刚在 iOS 11 中安装了我的应用程序并运行该应用程序并获取当前用户位置。但我不会,它在 iOS 10 中运行良好。
最佳答案
我添加了新 key NSLocationAlwaysAndWhenInUseUsageDescription
和旧 key 之一 NSLocationWhenInUseUsageDescription
,位置服务再次正常工作。
关于ios - iOS 11 中未调用用户当前位置委托(delegate)方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47033308/