简体   繁体   中英

Location significant change feature in iOS 6 is not called as often as iOS 5

My app is using the "Location significant change" feature. I noticed that after compiling my app to run on iOS 6, the location update method is not getting invoked as often as on iOS 5.

I did some search on Stackoverflow and I noticed some advice to set the value of CFBundleDisplayName in plist file. However, the issue here is that the location update method does get called, only not as often as it used to. Hence, app accuracy has gone down.

Has anyone had any experience with similar issues? Any advice?

There could be different reasons for this

  1. Significant change service uses device's cellular radio to determine the user's location and report changes in that location. If you do not have proper coverage then it would not be called
  2. It gets called based on significant change in distance. So If you have not moved enough it may not be called as you might have moved more in previous testing

In case of significant change service do not expect to get very accurate data. If you want accuracy go for standard service. But there you need to compromise on battery usage.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM