gpt4 book ai didi

ios - 重要位置在 iOS 11 中不起作用

转载 作者:行者123 更新时间:2023-11-29 00:11:02 24 4
gpt4 key购买 nike

我使用 iOS 10.3 开发我的应用程序,并使用重要的位置,它工作正常。但是,当我在 iOS 11 中构建应用程序时,重要位置不起作用,并且没有在位置管理器“didUpdate location”方法中得到调用。

最佳答案

对于 iOS 11,您必须在 Info.plist 中添加 key NSLocationAlwaysAndWhenInUseUsageDescription

关于ios - 重要位置在 iOS 11 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46465835/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com