title: didUpdateLocations never called
body: <p>I'm trying to get the user's location. To do so I have set the following property in the info.plist : </p>
  
  <p><a href="https://i.stack.imgur.com/j7X8s.png" rel="noreferrer"><img src="https://i.stack.imgur.com/j7X8s.png" alt="enter image description here"></a></p>
  
  <p>I have also added the following code in my viewDidLoad method as well as the function below. The problem is that the <code>locationManager(manager, didUpdate....)</code> function never gets called, I also never get prompted for permission to access location, even though I have removed and installed the app again. I am testing this on my iPad, not on the simulator. The didFailWithError function never gets called either.</p>
  
  <pre><code>    self.locationManager.delegate = self
      self.locationManager.desiredAccuracy = kCLLocationAccuracyBest
      self.locationManager.requestWhenInUseAuthorization()
      self.locationManager.startUpdatingLocation()
  
  
  
  func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
      print("UPDATING")
      let locValue:CLLocationCoordinate2D = manager.location!.coordinate
      let latitude = locValue.latitude
      let longitude = locValue.longitude
      latitudeText = "\(latitude)"
      longitudeText = "\(longitude)"
      if let a = latitudeText, b = longitudeText {
          print(a)
          print(b)
          self.locationManager.stopUpdatingLocation()
          if (userAlreadyExist()) {
              dispatch_async(dispatch_get_main_queue(), {
                  //self.performSegueWithIdentifier("segueWhenLoggedIn", sender: self)
                  self.performSegueWithIdentifier("showCamera", sender: self)
                  // self.performSegueWithIdentifier("showTabBarController", sender: self)
              })
  
          }
          else {
              dispatch_async(dispatch_get_main_queue(), {
                  self.performSegueWithIdentifier("segueWhenLoggedOut", sender: self)
              })
          }
      }
  
  
  }
  
  func locationManager(manager: CLLocationManager, didFailWithError error: NSError) {
      print(error.localizedDescription)
  }
  </code></pre>
  
  <p>EDIT : </p>
  
  <p>I have added the following snippet of code : </p>
  
  <pre><code>if CLLocationManager.locationServicesEnabled() {
          print("yes")
      }
      else {
          print("no")
      }
  </code></pre>
  
  <p>it returns yes. I have also checked on my device, locationServices are enabled, the app is listed there, however all the other apps have "While Using", "Never" or "Always" written next to them, mine doesn't have anything written.</p>