Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3339644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:30:58+00:00 2026-05-18T00:30:58+00:00

I want the annotations callout to popup when the pin has finished it’s drop

  • 0

I want the annotations callout to popup when the pin has finished it’s drop animation. Currently I am able to simulate it with the following method:

- (void)showCallOut {
    [myMapView selectAnnotation:[myMapView.annotations objectAtIndex:0] animated:YES];
}

In my viewDidLoad is where my annotation is created

    [myMapView addAnnotation:annotation];

The problem is that you simply can’t callout [self showCallOut]; after that because at run time it responds before MapKit has “acknowledged” the annotation drop. I need to either create a delay (Would like to avoid this) or find the proper way to detect when annotations are in place and then run the showCallOut method.

Thanks for any help!

Thanks to aBitObvious below for providing a solution:

- (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views {
    [self performSelector:@selector(showCallOut) withObject:nil afterDelay:1];
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:30:59+00:00Added an answer on May 18, 2026 at 12:30 am

    Try using the didAddAnnotationViews delegate method:

    - (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views
    {
        [self showCallOut];
    }
    

    Make sure your map view’s delegate is set.

    Edit:
    If you need to add a delay regardless, then try this instead (example with 1/2 second delay):

    - (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views
    {
        [self performSelector:@selector(showCallOut) withObject:nil afterDelay:0.5];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to update pin callout (popup) subtitle either realtime, when I receive some
I currently have an image that I want people's annotations to show up on,
I want to specify following hbm configuration using annotations: <id name=somePK column=&quot;somePK&quot; type=long> <generator
I have Map with multiply annotations and I want hen user taps on pin
I'm migrating a Spring MVC controller to use the newer style annotations, and want
I want show annotation view (above one of my pin) after load map. For
I want read custom annotations like @Route for Controllers. I will use it for
I'm looking to add(and remove, dynamically) text annotations to the PlotChart. Specifically I want
I want the user to be able to create polygons after placing some (unknown
I have several annotations on a mapview. After selecting one of them (callout enabled)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.