iphone Programming Glossary: custattr
MKAnnotationView fault when zoom in/out changed the pin image http://stackoverflow.com/questions/13745211/mkannotationview-fault-when-zoom-in-out-changed-the-pin-image isKindOfClass MKUserLocation class return nil static NSString AnnotationIndentifer @ AnnotationIdentifier if custAttr isEqualToString @ T ATMs MKAnnotationView pinView pinView MKAnnotationView alloc initWithAnnotation annotation reuseIdentifier.. pinView.image UIImage imageNamed @ Offline_ATM.png pinView.annotation annotation return pinView else if custAttr isEqualToString @ P POIs MKAnnotationView pinView pinView MKAnnotationView alloc initWithAnnotation annotation reuseIdentifier.. them again as in the same image iphone objective c ios mkmapview mkannotationview share improve this question The custAttr variable which you are setting outside the delegate method will not always be in sync with the annotation that the viewForAnnotation..
|