我想知道我是否可以在 Xcode Simulator 中测试 Significant-Change 位置服务(startMonitoringSignificantLocationChanges 方法),或者它只适用于实际设备。 请注意,我已经在 Simulator 中尝试过它,但它没有用,但我不确定这是否只是因为它在模拟器上不起作用,还是因为我做错了什么。
谢谢
最佳答案
参见 XCode / iOS simulator: Trigger significant location change manually .您可以模拟显着的位置变化,但如果您使用模拟器的“高速公路驾驶”位置 Debug模式,则可能需要大约 5 分钟才能获得更新。
关于ios - 我可以使用 Xcode 模拟器测试 Significant-Change 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8682683/