我跟着这个问题:iOS - MKMapView place annotation by using address instead of lat/long - 为邮政编码创建地图注释,而不是直接为长/纬度值。在地图注释视图上设置标题和副标题
这工作得很好,但是我想设置安诺
CLPlacemark *topResult = [placemarks objectAtIndex:0];
MKPlacemark *placemark = [[MKPlacemark alloc]
placemark.title = self.business.businessName;
placemark.subtitle = self.business.phoneNumber;
这不是为标题和副标题工作是只读的标题和副标题。如何更改上面的内容以便我能够设置标题和副标题?
请参考以下内容以进行查询。 http://stackoverflow.com/questions/20645723/show-address-in-annotation-when-pin-is-dropped-on-map http://stackoverflow.com/questions/21541989/how-to-add-callout-into-individual-annotation-in-map-view – VRAwesome