Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 删除第一个 Annotation-MapView iOS
我正在研究地图视图项目。我有问题要从地图视图中删除注释。总注释点为 5。如何从我的 mapView 中删除第一个注释。
我想我已经得到了答案
[mapView removeAnnotation:[self.mapView.annotations objectAtIndex:0]];