Вопрос

Я хочу добавить кнопку с возможностью щелчка мышью к примечанию 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