我想测试一些功能。如何设置硬编码我的 iPhone gps 的纬度、经度?我知道如何获得它...
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
{
lat = newLocation.coordinate.latitude;
lon = newLocation.coordinate.longitude;
}
但没有找到设置它的方法