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 8244925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:01:12+00:00 2026-06-07T22:01:12+00:00

My Map app has a Select city button to show worldCitiesList when clicked using

  • 0

My Map app has a ” Select city ” button to show worldCitiesList when clicked using the following code:

[self.navigationController presentModalViewController:self.worldCitiesListNavigationController animated:YES];

But now the place for the ” Select city ” button has to be replaced by another button.

the ” Select city ” button has to be relocated to another viewcontroller created from the MapViewController by the following code:

[self.navigationController presentModalViewController:self.tableViewNavigationController animated:YES];

The worldCitiesList can be showed from the tableViewNavigationController. But we want it is still showed from the MapViewController as before.

So in the button of backing to the MapViewController from the tableViewNavigationController, I use following code to first back to MapViewController, then to show the worldCityList:

- (void) backMapView:(id)sender
{
    [self.navigationController dismissModalViewControllerAnimated:YES];

    [self.navigationController presentModalViewController:self.worldCitiesListNavigationController animated:YES];
}

But my app just return to MapViewControler, but not show the worldCityList further.

In my WorldCitiesListController.m, my iOS app just goes to @synthesize, but not go to viewWillAppear and viewDidLoad further.

Please help. thanks in advance !!!

  • 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-07T22:01:15+00:00Added an answer on June 7, 2026 at 10:01 pm

    My question solved by: ‘dismissModalViewControllerAnimated: NO’.
    thanks!

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

Sidebar

Related Questions

I have displayed the map in my app by using the following code. I
I have the following code to load native google map app into my project:
I have an app which has a map and some POI on it. I'm
I've got an app that has a map with pins for locations, but I
I'm running a sample application that has a map component to it. The app
I've created a Map App using the JXMapKit and used the waypoint class to
I am switching to map app from my app to show the location,can some
I have an App which launches the google Map App. The code is: UIApplication
currently, I`m implementing a map App with Mono4Droid and there I`m using a WebView
i'm developing an app which download map tiles around different places in a city.

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.