title: Location services error after upgrading to iOS8
body: <p>I'm trying to support iOS7 &amp; 8 location services. When I run on my iOS8 device, I get this error:</p>
  
  <pre><code>"MyApp depending on legacy on-demand authorization, which is not supported for new apps"
  </code></pre>
  
  <p>I have a when in use entry in my plist. Here's my code:</p>
  
  <pre><code>    if ([_locationManager respondsToSelector:@selector(requestWhenInUseAuthorization)]) {
          [_locationManager requestWhenInUseAuthorization];
      } else {
          [_locationManager startUpdatingLocation];
      }
  
  
  - (void)locationManager:(CLLocationManager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status {
    if (status == kCLAuthorizationStatusAuthorizedWhenInUse) {
      [_locationManager startUpdatingLocation];
    }
  }
  </code></pre>
  
  <p>Why does this error show up?</p>