- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error{
NSLog(@"%@",error);
}
打印出的error如下:
Error Domain=kCLErrorDomain Code=0 "(null)"
是因为模拟器的原因么?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
模拟器要设置定位经纬度