真机调试时,后台无法持续定位
if ([UIDevice currentDevice].systemVersion.doubleValue >= 9.0) {
[self.locManager setAllowsBackgroundLocationUpdates:YES];
}
还要配置plist列表 不然会崩溃
if ([UIDevice currentDevice].systemVersion.doubleValue >= 9.0) {
[self.locManager setAllowsBackgroundLocationUpdates:YES];
}
还要配置plist列表 不然会崩溃