- (void)jumpSysTemSettingPage
{
//打开设置页面,去设置定位
NSURL *url = nil;
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0 && [CLLocationManager locationServicesEnabled])
{
url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
}
else
{
url = [NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"];
}
if ([[UIApplication sharedApplication] canOpenURL:url])
{
[[UIApplication sharedApplication] openURL:url];
}
}