現在我想在我的iOS應用程序的地圖上添加一個靜態引腳註釋。在哪種情況下將調用mapView:viewForAnnotation:?
但我只是想知道委託方法mapView:viewForAnnotation:將被調用。
在蘋果的文檔,它是說,
When it needs an annotation view, the map view calls the mapView:viewForAnnotation: method of its delegate object.
我已閱讀來自蘋果互聯網和官方文件幾個教程。 而我仍然不會在調用這個方法的時候。
您是否試圖添加自定義註釋引腳? – 2012-02-25 09:51:32