UILabel instead of the default pin on MKMapView
-
19-09-2019 - |
Question
Is it possible to have our own UILabel or some other type of text instead of the default pin in MapKit map on iPhone?
Solution
You can extend MKAnnotationView, this way you can specify (through the image property) what shows on for each pin, further you can customize the pop up views etc. Heres a reference http://developer.apple.com/iphone/library/documentation/MapKit/Reference/MKAnnotationView_Class/Reference/Reference.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow