Reputation: 4162
I was wondering if I can invoke an app based on current location or when the device gets near to certain geographic coordinates. I went through the UILocalNotification
Class reference. but it work base on date.
regards,
Upvotes: 4
Views: 3592
Reputation: 124997
Yes, your app can be notified (even if it's not running) when the device enters a region that you've defined. See Monitoring Shape-based Regions.
Upvotes: 6
Reputation: 5552
You won't be able to fire a local notification based on location but you would be able to set one based on local notification. If you are looking to have the app in the background or closed completely and determine if the user entered a certain area then you may be out of luck.
Upvotes: 0