Is it possible to show an annotation when a map is loaded in a single point?

I set the map to load MKAnnotationwhen the map loads, but it will only display the output, not the text that I created inside the annotation. Is there a fake event that I can trigger to show it right away or even a property?

+3
source share
1 answer

The title property in MKnnotation is used only for callouts. You must call SelectAnnotation in the MKMapView object when you want it to display.

+2
source

Source: https://habr.com/ru/post/1772838/


All Articles