title: didUpdateLocations method not being called
body: <p>My method didUpdateLocations never seems to be called? Why is this? I have added the keys to info.plist</p>
  
  <p>Here is my code:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view, typically from a nib.
  
      var locationManager = CLLocationManager()
  
      locationManager.requestWhenInUseAuthorization()
  
      if CLLocationManager.locationServicesEnabled() {
          locationManager.delegate = self
          locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters
          locationManager.startUpdatingLocation()
      }
  
  
  
  }
  
  func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
      let locValue:CLLocationCoordinate2D = manager.location!.coordinate
  
      lat = locValue.latitude
      long = locValue.longitude
  
  }
  </code></pre>