jan*_*mon 0 iphone objective-c uibutton mapkit mkmapview
我想在MKAnnotation中添加一个可点击按钮,如地图应用程序的屏幕截图所示:
预览http://www.img-hosting.de/bilder/24558PlacemarkWithIconpng
UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure];
annoView.canShowCallout = YES;
annoView.rightCalloutAccessoryView = disclosureButton;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3577 次 |
| 最近记录: |