【发布时间】:2014-06-20 02:26:45
【问题描述】:
我关注了这个问题:iOS - MKMapView place annotation by using address instead of lat / long - 为邮政编码创建地图注释,而不是直接使用 long/lat 值。
这很好,但是我想设置anno的标题和副标题
CLPlacemark *topResult = [placemarks objectAtIndex:0];
MKPlacemark *placemark = [[MKPlacemark alloc]
placemark.title = self.business.businessName;
placemark.subtitle = self.business.phoneNumber;
这不起作用,因为标题和副标题是只读的。如何更改上述内容以便我能够设置标题和副标题?
【问题讨论】:
标签: ios mapkit mkannotation mkannotationview