, , .
MapView, , . , , , , , location, coordinate.
MKAnnotation , CLLocationCoordinate2D coordinate . .
Try adding the instance variable CLLocationCoordinate2D coordinateand its matching property @property (assign, nonatomic) CLLocationCoordinate2D coordinateto your annotation .h file. Then use @synthesizeannotations in your .m file.
If this does not solve your problem, you may need to add more details to your question.
source
share