title: Region monitoring and background
body: <p>I have little doubt and wants to know is it necessary to reassign all regions again to location manager, if it receive the post notification for <code>appEnterInBackGround</code>?</p>
  
  <p>here is some code snippet.</p>
  
  <pre><code>- (IBAction)startAction:(id)sender
   {
    for (Geofencing *gObjects in plotingArrays) {
          CLCircularRegion *getRegion = [self dictToRegion:gObjects];
          [monitorLocationManager startMonitoringForRegion:getRegion];
      }
    }
  </code></pre>
  
  <p>So when app enters in back ground i did like this:</p>
  
  <pre><code>  # pragma mark - BackGround Notification
     -(void)applicationEnterBackground
      {
        monitorLocationManager = [selectRouteController sharedLocationMonitor];
        monitorLocationManager.delegate = self;
        for (Geofencing *gObjects in plotingArrays) {
          CLCircularRegion *getRegion = [self dictToRegion:gObjects];
          [monitorLocationManager startMonitoringForRegion:getRegion];
      }
    }
  </code></pre>
  
  <p>So is it necessary to reassign the regions again to location manger when app enter in background? OR it will automatically monitor once the region is assigned to location manager on <code>startAction:</code> action</p>
  
  <p>UPDATE1:</p>
  
  <pre><code>+ (CLLocationManager *)sharedLocationMonitor {
  static CLLocationManager *locationMonitor;
  static dispatch_once_t onceToken;
  dispatch_once(&amp;onceToken, ^{
  
          locationMonitor = [[CLLocationManager alloc] init];
          locationMonitor.desiredAccuracy =  
           kCLLocationAccuracyBestForNavigation;
  
          locationMonitor.activityType = 
          CLActivityTypeAutomotiveNavigation;
          [locationMonitor requestAlwaysAuthorization];
  
          if(IS_OS_9_OR_LATER){
              locationMonitor.allowsBackgroundLocationUpdates = YES;
          }
  
          if(SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(@"8.4")){
              locationMonitor.pausesLocationUpdatesAutomatically = NO;
          }
      });
     return locationMonitor;
     }
  </code></pre>
  
  <p>PLIST:</p>
  
  <p><a href="https://i.stack.imgur.com/HARyJ.png" rel="nofollow">App plist configuration</a></p>