Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:10:27+00:00 2026-06-08T22:10:27+00:00

It is possible to add location awareness to an application when it’s closed? For

  • 0

It is possible to add location awareness to an application when it’s closed?

For example I’d like to create a proximity service that works when my application is closed and pushes a local notification to the user when he reaches an area.

I read that with CLRegion I can achieve a similar result but only whenever the application is active (or in background).

I need something similar to a remote notification service activated by the user location. But it sounds really strange. Is it possible to have a similar service in iOS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:10:29+00:00Added an answer on June 8, 2026 at 10:10 pm

    There are 2 options:

    One is the significant location changes service which John mentioned above.
    The other one is the startRegionMonitoring

    Both are covered in the Location Awarness Documentation From Apple

    Both can open an terminated (closed) app for a brief moment and you can deliver a local push notification to alert the user.
    The app cannot get in a normal state, but if the user clicks the notification the app will open, so you can achieve your goal.

    Here is a sample code on intercepting the event in the didFinishLaunchingWithOptions delegate and firing a local notification.
    Normally you should not fire the notification here, but rather reinitialize your location manager, get the new position and display the message (local notification) for the area the user did enter…

        - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        //see if application was launched from a location event!
        if ([launchOptions objectForKey:UIApplicationLaunchOptionsLocationKey]) {
            //if so, we need to reinitialize our location manager!
            [[LocationManager sharedLocationManager] startSignificantLocationMonitoring];
            //fire a notification
    
            UILocalNotification *notification = [[UILocalNotification alloc] init]; 
            notification.fireDate = [NSDate date]; 
            NSTimeZone* timezone = [NSTimeZone defaultTimeZone]; 
            notification.timeZone = timezone; 
            notification.alertBody = @"app did wake up"; 
            notification.alertAction = @"OK"; 
            notification.soundName = @"yes.caf"; 
            [[UIApplication sharedApplication] scheduleLocalNotification:notification];
    
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to add a custom property to an object that is part
I know it's possible to do stuff like that: bod = Time.zone.now.beginning_of_day facet :start_time
I currently have an application that for a set of parameters (location, category, budget,
Hi , Is it possible to add a new Trusted Location for word 2010
I am developing an mobile application that search the user's location via GPS and
I want a textbox that it is possible to add text blocks to it.
Possible Duplicate: Confusing add command in x86 assembly I would like to understand these
Is it possible to add or remove slides in runtime using FlexSlider ?
Is it possible to add button click event by clicking design of axml? if
Is it possible to add the OR operator to php isset submit form code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.