现在我想在我的 iOS 应用程序的地图上添加一个静态图钉注释。
但我只想知道是否会调用委托方法 mapView:viewForAnnotation:。
在Apple文档中,据说
When it needs an annotation view, the map view calls the mapView:viewForAnnotation: method of its delegate object.
我已经阅读了一些来自 Internet 的教程和来自 Apple 的官方文档。而且我仍然不知道何时调用此方法。