~~ A demo app for Core Location's CLVisit functionality ~~
See CLVisit
/ CLLocationManager
/ WWDC documentation for more info on this functionality.
To use this app, run it on your device, and accept the notification permission prompt. Tap the Menu
button, and tap Start Monitoring
. Make sure to choose Always Allow
on the location permissions prompt, otherwise visit monitoring will not work.
The app will send you a local notification each time it receives a CLVisit object. You can then view a log of all visits in the app. Tap the Menu button to stop monitoring, clear the log, or share/export the log.
This demo app does not interact with any servers; all of your data stays on the device.