I have
NSLocationWhenInUseUsageDescription
and
NSLocationAlwaysUsageDescription
defined in my Info.plist.
In my code I do
if ([_locationManager respondsToSelector:@selector(requestWhenInUseAuthorization)]) { [_locationManager requestWhenInUseAuthorization]; } [_locationManager startUpdatingLocation];
And I do not receive a request for iOS8.
I did a clean reinstall in my simulator. On iOS7 without block 3 if I will be asked.
Immediately after startUpdatingLocation, I check [CLLocationManager authorizationStatus] , which is 0- kCLAuthorizationStatusNotDetermined
How can I tell iOS8 users?
ios8 core-location
quantumpotato
source share