Nasıl bir MKAnnotation (MKView) bir UIButton eklenir?

oy
0

Maps uygulamasının bu ekran görüntüsünde görüldüğü gibi bir MKAnnotation Bir tıklama mümkün düğmesi eklemek istiyorum:

Önizleme http://www.img-hosting.de/bilder/24558PlacemarkWithIconpng

Oluştur 10/09/2009 saat 11:38
kaynak kullanıcı
Diğer dillerde...                            


1 cevaplar

oy
8

UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure]; 
annoView.canShowCallout = YES;    
annoView.rightCalloutAccessoryView = disclosureButton;
Cevap 10/09/2009 saat 19:04
kaynak kullanıcı

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more