質問

Mapsアプリケーションの次のスクリーンショットに示すように、MKA注釈にクリック可能なボタンを追加したい

http://www.img-hosting.de/bilder/24558PlacemarkWithIconpngをプレビュー

役に立ちましたか?

解決

UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure]; 
annoView.canShowCallout = YES;    
annoView.rightCalloutAccessoryView = disclosureButton;
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top