get location on iphone ONLY from the GPS - not the wifi network

前端 未结 6 650
刺人心
刺人心 2021-02-03 13:44

i am creating an app that uses location-

everything works swimmingly except one thing-

when i come home my iphone connects to my local wifi network and instead o

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-03 14:23

    You can set cLLocationAccuracy.desiredAccuracy = kCLLocationAccuracyBest and see if that does it. It should try and limit to GPS use, however that isn't 100% guarenteed.

提交回复
热议问题