How to add an image for each customized annotation on MapView?
问题 I have a class of Picture which contains latitude and longitude and image of each location. I want to add them as annotation to the MapView and show its image instead of pin for those locations. I have a customized annotation which is: @interface Annotation : MKAnnotationView <MKAnnotation> @property (nonatomic,assign) CLLocationCoordinate2D coordinate; @property (nonatomic,copy) NSString *title; @property (nonatomic,copy) NSString *subtitle; @property (nonatomic,retain) UIImage *image; @end