title: iOS 8 requestWhenInUseAuthorization no Popup
body: <p>I tried to make my AppProject iOS 8 ready. I had read a lot about</p>
  
  <pre><code>[_locationManager requestWhenInUseAuthorization];
  </code></pre>
  
  <p>and the entry in plist</p>
  
  <pre><code>NSLocationWhenInUseUsageDescription
  </code></pre>
  
  <p>So I changed all the necessary code lines.</p>
  
  <p>It works fine, but now I have copied my project again from my iOS 7 base to include new features. But when I make the changes for the iOS8 Location Privacy the Popup doesn't appear anymore.</p>
  
  <p>My code worked until I copied.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
      &lt;dict&gt;
          &lt;key&gt;NSLocationWhenInUseUsageDescription&lt;/key&gt;
          &lt;string&gt;tolle sache &lt;/string&gt;
          &lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;
          &lt;string&gt;en&lt;/string&gt;
          &lt;key&gt;CFBundleExecutable&lt;/key&gt;
          &lt;string&gt;${EXECUTABLE_NAME}&lt;/string&gt;
          &lt;key&gt;CFBundleIdentifier&lt;/key&gt;
          &lt;string&gt;fapporite.${PRODUCT_NAME:rfc1034identifier}&lt;/string&gt;
          &lt;key&gt;CFBundleInfoDictionaryVersion&lt;/key&gt;
          &lt;string&gt;6.0&lt;/string&gt;
          &lt;key&gt;CFBundlePackageType&lt;/key&gt;
          &lt;string&gt;BNDL&lt;/string&gt;
          &lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
          &lt;string&gt;1.0&lt;/string&gt;
          &lt;key&gt;CFBundleSignature&lt;/key&gt;
          &lt;string&gt;????&lt;/string&gt;
          &lt;key&gt;CFBundleVersion&lt;/key&gt;
          &lt;string&gt;1&lt;/string&gt;
      &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>and here is my call</p>
  
  <pre><code>- (instancetype)initWithCoder:(NSCoder *)coder
  {
      self = [super initWithCoder:coder];
      if (self) {
  
          _UserLocation = [[CLLocation alloc]init];
          _locationManager = [[CLLocationManager alloc]init]; // initializing locationManager
          _locationManager.delegate = self;
          _locationManager.desiredAccuracy = kCLLocationAccuracyBest; // setting the accuracy
          [_locationManager requestWhenInUseAuthorization]; // iOS 8 MUST
          [_locationManager startUpdatingLocation];  //requesting location updates
  
          NSLog(@"passed initwithcode");
  
      }
      return self;
  }
  </code></pre>
  
  <p>How can I fix this?</p>