質問がありますか?私は混乱している!
注釈がレイアウトされているマップビューがあります。注釈のポップオーバーが必要です。
どうすればいいですか
1.ストーリーボードにポップオーバーコントローラーを作成し、デリゲートメソッドからプッシュします。2.すべてのサブビューなどで、プログラムによるポップオーバービューを作成しますか?
誰でも助けてくれる最初の方法を使いたいです。
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control
{
// UIViewController *controller = [self.storyboard instantiateViewControllerWithIdentifier:@"annotationPopUp"];
[self performSegueWithIdentifier: @"annotationPush" sender:nil];
}