我关闭了 iPhone 上的定位服务,因为我不希望该应用确定我的位置。但是,当我运行该应用程序时,它会以某种方式获取我的位置!有什么想法吗?
最佳答案
正如文档所示 here
Locations
An array of CLLocation objects containing the location data. This array always contains at least one object representing the current location. If update events were deferred or if multiple events arrived before they could be delivered, the array may contain additional entries. The objects in the array are organized in the order in which they occurred. Therefore, the most recent location update is at the end of the array.
因此位置管理器总是显示出一些值(value)。
关于iPhone 位置服务已关闭,但应用程序仍能获取位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16790370/