title: MapKit in iOS 8 and Swift
body: <p>I'm trying to use MapKit on iOS 8 and I keep getting the error: </p>
  
  <pre><code>Trying to start MapKit location updates without prompting for location authorization. Must call   
  -[CLLocationManager requestWhenInUseAuthorization] or -[CLLocationManager 
  requestAlwaysAuthorization] first. 
  </code></pre>
  
  <p>Looking it up here, I found that I had to implement <code>NSLocationWhenInUsageDescription</code> in my plist and also make a call to <code>locationManager.requestWhenInUseAuthorization()</code> but nothing happens and I still get that error in the console. What am I doing wrong?</p>