iPhone Mapkit adding custom image and pins to annotations
问题 I am trying to change the pin colour from the default red to a custom image but whatever I am trying just isn't working. I have downloaded the sample code from this website: http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/ The code works on it's own but when I import the annotation classes into my code, they do not work and I have no idea why. I have also tried a number of different methods from other sites but I can't even get the pin colour to change. My project has