I am working on my application, and i am trying to implement a map view with annotations but the problem is its only working on iPhone 4s but not on 5,5s,6 and 6+. I am working on a simulator.
This is the error i am getting:
No visible @interface for 'MKPinAnnotationView' declares the selector 'initWithAnnotation:reuseIdentifier:'
on this line of code :
if (!pinView) {
pinView = [[MKPinAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:@"annView"];
}
Can anyone help me please ?