Hogyan adjunk egy UIButton egy MKAnnotation (MKView)?

szavazat
0

Szeretnék hozzáadni egy kattintással képes gombot a MKAnnotation ahogy ebben a screenshot a Térképek alkalmazás:

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

A kérdést 10/09/2009 11:38
a forrás felhasználó
Más nyelveken...                            


1 válasz

szavazat
8

UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure]; 
annoView.canShowCallout = YES;    
annoView.rightCalloutAccessoryView = disclosureButton;
Válaszolt 10/09/2009 19:04
a forrás felhasználó

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