title: How can google map consistently display need to display location?
body: <p>Every time we go to google map that notification show up,. If we press cancel, and go to google map again that notification show up again.</p>
  
  <p>This is my code:</p>
  
  <pre><code>  while (false);
      static NSDate * lastSearched = nil;
  
      NSDate * dNow=[NSDate date];
      NSTimeInterval ti = [dNow timeIntervalSinceDate:lastSearched];
      if (ti&lt;60) {
          return;
      }
      lastSearched =dNow;
      CLAuthorizationStatus  clAuth= [CLLocationManager authorizationStatus];
      if (clAuth ==kCLAuthorizationStatusAuthorized)
      {
  
      }
      else
      {
      }
  </code></pre>
  
  <p>That notification shows up only once.</p>