I'm using Xcode 6 beta (6A215l). I've referred this question and updated my code to:
- use
NSLocationWhenInUseUsageDescription
in the .plist file, - call
requestWhenInUseAuthorization
in the source code
but neither didUpdateLocations:
nor didFailWithError:
was called. If I use NSLocationAlwaysUsageDescription
and requestAlwaysAuthorization
, my app works.
Does anyone have the same problem? I wonder if I should try with Xcode 6 beta 2..