You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_locationManager.allowsBackgroundLocationUpdates = YES; will crash on ios8.4.
so I modify to
if([_locationManager respondsToSelector:@selector(setAllowsBackgroundLocationUpdates:)]) {
// We now have iOS9 and the right capabilities to set this:
[_locationManager setAllowsBackgroundLocationUpdates:YES];
}
The text was updated successfully, but these errors were encountered:
_locationManager.allowsBackgroundLocationUpdates = YES; will crash on ios8.4.
so I modify to
if([_locationManager respondsToSelector:@selector(setAllowsBackgroundLocationUpdates:)]) {
// We now have iOS9 and the right capabilities to set this:
[_locationManager setAllowsBackgroundLocationUpdates:YES];
}
The text was updated successfully, but these errors were encountered: