Skip to content

Instantly share code, notes, and snippets.

@thoretton-edwin
Created August 20, 2014 10:02
Show Gist options
  • Save thoretton-edwin/dff553240a13e927e62a to your computer and use it in GitHub Desktop.
Save thoretton-edwin/dff553240a13e927e62a to your computer and use it in GitHub Desktop.
iOS 8 location manager diff
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
{
[locationManager requestAlwaysAuthorization];
}
// auth needed before start method
[locationManager startUpdatingLocation];
// in plist file : (Boolean value) NSLocationAlwaysUsageDescription : YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment