I was wondering if it is possible to tell the iphone operating system to lauch my application when I enter a particular region...If it is how can I do it? Thank you
Asked
Active
Viewed 70 times
2 Answers
1
This will happen automatically for region monitoring - Once your application has registered for region monitoring (while it was running) and then gets suspended or stopped, and then if the region is crossed even when you app is not running the app is re-launched in the background to handle that event, from there you can post local notifications etc to alert the user and bring the app to foreground if the user is interested. See reference to the Apple documentation here

Dennis Mathews
- 6,897
- 2
- 26
- 39
0
No, your application can't launch itself for any reason.
You can, however, use background location and background local notifications to alert the user and allow them to opt to open your app.

ceejayoz
- 176,543
- 40
- 303
- 368
-
Not true, region monitoring can auto launch your app. – progrmr Jan 04 '12 at 22:05
-
No, it can popup a notification, but the user can choose not to launch the app. It'll remain stuck in the background if the user says no. – ceejayoz Jan 04 '12 at 22:11
-
what if I want to launch a custom aler message can I do it instead of lauching my app? – Mppl Jan 04 '12 at 22:30
-
@ceejayoz: you're right but the app does get launched into the background and has a chance to run in the background so it can do processing, just can't get into the foreground without user interaction. – progrmr Jan 05 '12 at 19:02
-
I interpreted "launch my application" in the question to mean that the application should automatically come to the foreground. – ceejayoz Jan 05 '12 at 19:03