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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:50:51+00:00 2026-05-28T22:50:51+00:00

The start of the structure is as follows… UITabBarController -> UINavigationController(s) From each of

  • 0

The start of the structure is as follows…

UITabBarController -> UINavigationController(s)

From each of the UINavigationControllers, I have a UIBarButtonItem that modally presents a UIViewController.

This UIViewController has a MKMapView with pins at multiple locations. When clicked, they display an annotation with a disclosure button.

Within this UIViewController, it is my intention to push a detail page (UITableViewController) when pressing the disclosure button of the annotation. The method calloutAccessoryControlTapped: receives the appropriate pin, but the transition to the next controller fails.

I have tried every combination of the following methods…

  1. [self.navigationController …]
  2. [self.parentViewController …]
  3. [self.parentViewController.navigationController …]

with the method being either…

  1. presentModalViewController:
  2. pushViewController:

I have done all of these with the UIViewController being on its own, and also with it embedded inside of a UINavigationController.

All of these properties return null…

  1. self.navigationController
  2. self.parentViewController
  3. self.parentViewController.navigationController

This is the first time I’ve used storyboard for an Xcode project. Am I missing a step?

  • 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-28T22:50:52+00:00Added an answer on May 28, 2026 at 10:50 pm

    Try getting rid of the code and implementing the transitions in storyboard by control dragging from the button to the view controller you wish to load modally. When the “Storyboard Segue” menu pops up select “modal”. In the modal view controller, I like to use code to return from the modal by calling:

    [self dismissModalViewControllerAnimated:YES];
    

    To Presenting Storyboard View Controllers Programmatically scroll to that section in gravityjack on the link provided.

    For example, I have a view controller that I created in storyboard which I can call programmatically with the following two statements:

        SettingsViewController *settingsVC = [self.storyboard instantiateViewControllerWithIdentifier:@"settingsVC"];
        [self.navigationController pushViewController:settingsVC animated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pointer of a structure type that I made. On program start
I am referencing a COM structure that starts as follows: [scriptable, uuid(ae9e84b5-3e2d-457e-8fcd-5bbd2a8b832e)] interface nsICacheSession
I have two schemas S1 and S2 with identical table structure. I`ll start with
I have to interact with a set of web-services that each come with their
I have a page with lots of comments. The code structure is as follows:
Problem Assumption: I have a table in SQL Server, with the structure as follows;
I have a class template similar to the one that follows below that is
I have a JSF 2.0 application that I would like to start adding validators
My table structure is as follows: mid | tid | data | 1 |
I have a staging database which stores the GEO location as the following structure

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.