Example for startMonitoringSignificantLocationChanges

人盡茶涼 提交于 2019-11-28 21:53:00
RedBlueThing

I have done a bit of testing with the significant change API. I posted a sample project on GitHub that lets you play with regular and significant location updates.

This question might also shed some light on what happens when you get woken up for a significant change event.

Update

Another thing you should be aware of, there is a bug in CoreLocation in 4.1. Basically if your app is in the background, then it will crash when core location tries to wake you up. It is fixed in 4.2.

There is a great video session on these new iOS 4.0 CoreLocation and MapKit features from WWDC 2010 that should be freely available in iTunes U for all registered iPhone developers.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!