要創建一個故事板的iOS項目地圖標註,我用:添加披露按鈕MKPointAnnotation
CLLocationCoordinate2D annotationCoord3;
annotationCoord3.latitude = 34.233129;
annotationCoord3.longitude = -118.998644;
MKPointAnnotation *annotationPoint3 = [[MKPointAnnotation alloc] init];
annotationPoint3.coordinate = annotationCoord3;
annotationPoint3.title = @"Another Spot";
annotationPoint3.subtitle = @"More than a Fluke";
[_mapView addAnnotation:annotationPoint3];
它的偉大工程,但我想補充披露按鈕,這樣我可以把塞克到一個新的查看控制器和顯示圖像。這可能嗎?
Thx提前,
--bd--
添加東西的註解視圖不註釋;) –