【问题标题】:User current location delegate method not called in iOS 11iOS 11 中未调用用户当前位置委托方法
【发布时间】:2017-10-31 10:39:47
【问题描述】:

我刚刚在 iOS 11 中安装了我的应用程序并运行该应用程序并获取当前用户位置。但我不会,它在 iOS 10 中运行良好。

【问题讨论】:

标签: ios xcode plist core-location ios11


【解决方案1】:

我添加了新密钥 NSLocationAlwaysAndWhenInUseUsageDescription 和旧密钥之一 NSLocationWhenInUseUsageDescription,位置服务再次正常工作。

【讨论】:

    猜你喜欢
    • 2016-07-16
    • 2015-07-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-18
    • 1970-01-01
    相关资源
    最近更新 更多