title: Reload/Refresh View Controller on Significant Location Change (from App Delegate)
body: <p>I am trying to have my view refreshed using significant location changed. The location manager is in my app delegate, and I am trying to use the NSNotificationCenter to tell the view controller to refresh if the user changes locations. I am not sure how to refresh to refresh the view. I currently  have it set up like below. I made a "View Controller (refresh the view)" block where I think the code for the refresh would take place. Anyone know how to make this work? Thank you!</p>
  
  <p><strong>App Delegate (listen for significant location changes):</strong></p>
  
  <pre><code>- (void) locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation  
  *)newLocation fromLocation:(CLLocation *)oldLocation {
  
  [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshView" object:nil];
  
  }
  </code></pre>
  
  <p><strong>View Controller (Listen to NSNotificationCenter):</strong></p>
  
  <pre><code>- (void)viewDidLoad {
  
  [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(refreshView:) 
  name:@"refreshView" object:nil];
  
  }
  </code></pre>
  
  <p><strong>View Controller (refresh the view):</strong></p>
  
  <pre><code>-(void)refreshView:(NSNotification *) notification {
  
  //CODE TO REFRESH THE VIEW HERE
  
  }
  </code></pre>