Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想向 MKAnnotation 添加一个可点击的按钮,如 Maps 应用程序的截图所示:
预览 http://www.img-hosting.de/bilder/24558PlacemarkWithIconpng
UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure]; annoView.canShowCallout = YES; annoView.rightCalloutAccessoryView = disclosureButton;