MKMapView's user location is wrong on startup or resume

前端 未结 7 1979
臣服心动
臣服心动 2021-01-17 19:15

When I start my application fresh, or resume after a long time, MKMapView\'s notion of the userLocation is wrong and shows me in the middle of the sea.

I am using th

相关标签:
7条回答
  • 2021-01-17 20:04

    How far off is it from your actual location? When an application just starts or resumes from a long period of time the user location is general always wrong to begin with. As the application runs it will get more and more accurate. There are methods for getting the accuracy of the user location in CLLocationManager, see what kind of values you get there.

    0 讨论(0)
提交回复
热议问题