title: func locationManager (manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) in swift 2.0
body: <p>I have an issue with my code the <code>didUpdateLocations</code> function is never called.</p>
  
  <p>I have also add the two keys <code>NSLocationWhenInUseUsageDescription</code> and <code>NSLocationAlwaysUsageDescription</code>. I have no idea what is going on if any one can help please</p>
  
  <pre><code>@IBOutlet weak var mapView: GMSMapView!
  
  let locationManager = CLLocationManager()
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      locationManager.delegate = self
      self.locationManager.requestWhenInUseAuthorization()
      self.locationManager.requestAlwaysAuthorization()
  
  
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
  
  }
  
  
  func locationManager(manager: CLLocationManager, didChangeAuthorizationStatus status: CLAuthorizationStatus)
  {
      if status == .AuthorizedWhenInUse
      {
          locationManager.startUpdatingLocation()
          mapView.myLocationEnabled = true
          mapView.settings.myLocationButton = true
      }
  }
  func locationManager (manager: CLLocationManager, didUpdateLocations locations: [CLLocation])
  {
      if let location = locations.first
      {
          mapView.camera = GMSCameraPosition(target: location.coordinate, zoom: 15, bearing: 0, viewingAngle: 0)
          locationManager.stopUpdatingLocation()
          print(locationManager.location?.coordinate)
  
      }
  }
  </code></pre>