11
I am getting a warning in the below mentioned line:
[self.mapView addAnnotation:addressAnnotation];
The warning is:
Sending 'MapAnnotation *__strong' to parameter of incompatible type 'id<MKAnnotation>'
Since I referred similar kind of posts I have to mention that, the header file of this class includes <MKAnnotation> and the forward declaration of MapAnnotation class is also available.
Please suggest.