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

  • Home
  • SEARCH
  • 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 8073423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:20:13+00:00 2026-06-05T14:20:13+00:00

Why isn’t MKMapView loading overlays, if it’s the initial start (right after deployment) of

  • 0

Why isn’t MKMapView loading overlays, if it’s the initial start (right after deployment) of the app and the MKMapView is in the first View?

Afterwards everything works fine, even if it’s the initial start of the app and the MKMapView is not the first view.

The following delegates are not being called:

mapView: viewForOverlay:

mapView: viewForAnnotation:

I’m using SDK 5.1 and Storyboard for the UI.

  • 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-06-05T14:20:16+00:00Added an answer on June 5, 2026 at 2:20 pm

    Since the data for the overlays is not available right after the initial start, it’s not available for drawing either.

    Update Approach:

    Instead of just adding the objects only in viewDidLoad I switched it to a more dynamic approach.

    The most obvious way of doing this is to use NSFetchedResultController, known from UITableViewController. It has a handy delegate which calls my viewcontroller if something changed.

    So from now I only implement the delegate methods and then update, remove or delete the overlays from the MKMapView.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Isn't there a way where I can refresh the page right after a database
Isn't having all of the files in public view a bad thing? Surely things
isn't it possible to rename tags within the app.config? If I use the following
Isn't MVC supposed to separate the presentational code from everything else? Wouldn't this make
English isn't my first language so i can't come up with a good name.
Isn't there a Design Pattern who describes how to high cohesion? I need some
Isn't there a CSS way of having the page to get a border around
Isn't A a = new A(); // A is a class name supposed to
Isn't visual studio supposed to automatically generate this file for each webservice creation ?
Isn't this / ? Why is there a constant for it? It's not like

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.