How to Debug Significant Location Change in iOS
If an app has registered to listen for significant location change notifications, but is subsequently terminated, iOS will automatically relaunch the app into the background, if a new notification arrives. iOS generates significant location change notifications as soon as the device moves 500 meters or more from its previous notification location. These notifications don’t arrive more frequently than once every five minutes. Therefore, it could be challenging to test or debug code that handles these notifications without driving around with your device.
This article outlines steps you can follow in order to debug (or test)
significant location change notifications using iOS
simulator and Xcode. We will use the SignificantlyChanged app as an example here, but you should be able to use the instructions listed here with any other app. SignificantlyChanged is a test app written specifically...
Continue reading →