当蜂窝数据和Wi-Fi都关闭时,是否可以获得用户位置?

cow*_*boo 7 iphone gps core-location mkmapview ios

我最近在苏格兰用加拿大手机,并且为了避免漫游费用,我在整个行程中关闭了我的手机数据.然而,我拍摄的照片仍然有准确的地理标记,这意味着我的位置仍然可用于我的相机应用程序(即使我在地图上实际上看不到这些位置,直到我回到家).

我的问题是:如何在这种情况下检索位置数据,我实际上无法显示地图,因为没有互联网连接?并且,为了提高我的理解,如何实际检索位置?如果"蜂窝数据"关闭,GPS是否仍然可用,或者该位置是否只能使用附近的Wi-Fi热点进行计算?最后,如果在设备上关闭蜂窝数据和Wi-Fi,仍然可以检索位置(即GPS仍处于活动状态)?

有关该主题的任何信息都是受欢迎的 - 我所要做的就是处理由于存在或缺少位置服务而创建的所有可能情况以及应用程序中的互联网连接,其中我(如果可能)显示并存储用户的位置.

谢谢!

rma*_*ddy 15

iOS devices that have actual GPS hardware in them can give accurate location data even if there is no WiFi or cellular.

Of course, most map apps require an Internet connection to display a map. But if you have a map app with local map data, then you would be able to see the map with your position even without any Internet connection.

On devices with an actual GPS, location services works just fine with no Internet. It may take a little longer to zero in on your position but it still works normally. Of course on iOS devices with no real GPS, you do need a cellular or WiFi signal to get any position data.