重大位置更改不适用于仅支持 Wifi 的设备
Significant location change doesn't work on Wifi only devices
如果我错了请纠正我,我有两台设备 (iPhone),一台带有 sim 卡并连接了 wifi,另一台没有活动的 sim 卡但连接到 wifi。我在火车上测试两台设备上的显着位置变化,只有带有 sim 卡的设备发送了显着的位置变化事件。没有 sim 卡的那个即使仍然连接到 Wifi 也没有触发任何事件。
任何 link 参考资料都值得赞赏。 IMO,重大位置更改是否仅适用于蜂窝数据?
我相信只有当 phone 从蜂窝塔切换到另一个时,位置才会发生重大变化,因此如果它不在蜂窝网络上(没有 SIM 卡),它就无法检测到,并且因此无法提供职位:)
来自 Apple 文档:
The significant location change service is better suited for apps that want to get the user’s initial location and then only want to know when that location changes. This service requires the presence of cellular hardware and delivers events less frequently than the standard location services.
如果我错了请纠正我,我有两台设备 (iPhone),一台带有 sim 卡并连接了 wifi,另一台没有活动的 sim 卡但连接到 wifi。我在火车上测试两台设备上的显着位置变化,只有带有 sim 卡的设备发送了显着的位置变化事件。没有 sim 卡的那个即使仍然连接到 Wifi 也没有触发任何事件。
任何 link 参考资料都值得赞赏。 IMO,重大位置更改是否仅适用于蜂窝数据?
我相信只有当 phone 从蜂窝塔切换到另一个时,位置才会发生重大变化,因此如果它不在蜂窝网络上(没有 SIM 卡),它就无法检测到,并且因此无法提供职位:)
来自 Apple 文档:
The significant location change service is better suited for apps that want to get the user’s initial location and then only want to know when that location changes. This service requires the presence of cellular hardware and delivers events less frequently than the standard location services.