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?

Was it helpful?

Solution 3

http://www.iphonedevsdk.com/forum/iphone-sdk-development/19740-trigger-mkannotationview-callout-bubble.html#post110447

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
scroll top