¡@

Home 

2014/10/15 ¤U¤È 10:11:57

iphone Programming Glossary: neighbormapannotation

custom MKAnnotation class for changing leftCalloutAnnotationView

http://stackoverflow.com/questions/4841753/custom-mkannotation-class-for-changing-leftcalloutannotationview

class for changing leftCalloutAnnotationView I have created a custom class for the MKAnnotation @interface NeighborMapAnnotation NSObject MKAnnotation CLLocationCoordinate2D coordinate NSString title NSString subtitle UIImageView lcav @property nonatomic.. retain NSString title @property nonatomic retain NSString subtitle @property nonatomic retain UIImageView lcav @end NeighborMapAnnotation neighbor NeighborMapAnnotation alloc initWithCoordinate aCoordinate imgView is some UIImageView that I already have neighbor.leftCalloutAccessoryView.. nonatomic retain NSString subtitle @property nonatomic retain UIImageView lcav @end NeighborMapAnnotation neighbor NeighborMapAnnotation alloc initWithCoordinate aCoordinate imgView is some UIImageView that I already have neighbor.leftCalloutAccessoryView imgView..