0
我想一個點擊就能按鈕添加到MKAnnotation在這個截圖的地圖應用程序中看到:如何添加一個UIButton到MKAnnotation(MKView)?
Preview http://www.img-hosting.de/bilder/24558PlacemarkWithIconpng
我想一個點擊就能按鈕添加到MKAnnotation在這個截圖的地圖應用程序中看到:如何添加一個UIButton到MKAnnotation(MKView)?
Preview http://www.img-hosting.de/bilder/24558PlacemarkWithIconpng
UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure];
annoView.canShowCallout = YES;
annoView.rightCalloutAccessoryView = disclosureButton;
感謝隊友,爲我節省了很多的麻煩。 – 2011-09-14 13:44:52