I have a function that scales halfway to the annotation that was placed on the map, and the user's location so that both can see on the screen. Is there an annotation method that displays its “content”, that is, simulates clicking on it? It would be ideal if it surfaced as soon as it increased.
Thanks in advance.
You can select an annotation using this code: You need to change objectAtIndex from 0 to any number to display the desired annotation.
[self.mapView selectAnnotation:[[self.mapView annotations] objectAtIndex:0] animated:YES];