Custom pin with title subtitle iphone
-
20-09-2019 - |
Question
I have a mapview and i put an annotation which shows a custom title and subtitle pin. When the mapview starts the pin is visible but the title and subtitle are not. I have to press on the pin to show up the title and subtitle. Is it possible to show the title and subtitle without pressing the pin?
Solution 3
anyway guys seems to be a problem at xcode specific version check the above link. this is working
OTHER TIPS
this is just a suggestion but you can try
[myCustomAnnotationView becomeFirstResponder];
you could use
MKMapView *mapView;
id<MKAnnotation> myAnnotation;
// initialize mapView and myAnnotation...
[mapView selectAnnotation:myAnnotation animated:YES]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow