0
我是Xcode的初学者。我想用别针来显示其他位置,而不是我当前的位置。我有经纬度值。现在我用地图查看它只显示当前位置。在MapKit中查找修正位置
-(void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
self.mapView.delegate=self;
[self.mapView setShowsUserLocation:YES];
locationmanager=[[CLLocationManager alloc]init];
[locationmanager setDelegate:self];
[locationmanager setDistanceFilter:kCLDistanceFilterNone];
[locationmanager setDesiredAccuracy:kCLLocationAccuracyBest];
}