そのため、ボタンを押すとユーザーの場所を検索するようにアプリを設定しました。
-(IBAction)getLocation {
mapview.showsUserLocation = YES;}
次に、これを使用してマップビューをロードするときに、マップ注釈も特定の場所に設定しました
- (void)viewDidLoad{
     [super viewDidLoad];
// Do any additional setup after loading the view.
     [mapview setMapType:MKMapTypeStandard];
     [mapview setZoomEnabled:YES];
     [mapview setScrollEnabled:YES];
     MKCoordinateRegion region = { {0.0, 0.0 }, {0.0, 0.0 } };
     region.center.latitude = 123;
     region.center.longitude = 123;
     region.span.longitudeDelta = 0.01f;
     region.span.latitudeDelta = 0.01f;
     [mapview setRegion:region animated:YES];
     NewClass *ann = [[NewClass alloc] init];
     ann.title = @"Place to go to";
     ann.subtitle = @"subtitle";
     ann.coordinate = region.center;
     [mapview addAnnotation:ann];
}
MapKit を使用して、注釈に「ここへの道順」ボタンを配置することはできますか? どんな助けでも素晴らしいでしょう!ありがとう!