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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:15:18+00:00 2026-06-11T15:15:18+00:00

I am developing a navigation-based app with few views. In the Storyboard, I have

  • 0

I am developing a navigation-based app with few views. In the Storyboard, I have a Navigation Controller that points to my main ViewController (“center” view of my app) that points to other views with segues.

At first I wanted this segues to be push but it didn’t work properly (the buttons were hardly responding), I’ve switched to modal (as advised here). Now the segue works fine but whenever I use modal segue, the navigation bar in view it points to disappears (I’ve tried with other configurations – the navbar is being shown on Storyboard but doesn’t work on Simulator).

Where am I making mistake?

  • 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-11T15:15:18+00:00Added an answer on June 11, 2026 at 3:15 pm

    As suggested by JoePasq, “Have your view controller class the root view controller of the navigation controller”. Select your view controller which you want to set as Root screen and goto Editor/EmbedIn option and select navigation controller. You will get a navigation-controller embedded with your root view controller. Instead of setting up segues you can change your screens programmatically in your program. In your method for button click event write a similar code as below;

    - (IBAction)okPressed:(id)sender {
    UIStoryBoard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle: nil]; //MainStoryboard is the name of your storyboard
    SecondViewController *secondView = [storyboard instantiateViewControllerWithIdentifier:@"sView"];
    //sView is the identifier name set by the user, (present inside Attribute Inspector - View Controller)
    [self.navigationController pushViewController:secondView animated:YES]; 
    

    Let me know if this works or there is also another way to do it.

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

Sidebar

Related Questions

I'm developing an iPhone app that features a tab-bar based navigation with five tabs.
I'm developing a graphing application that on the main navigation/tab view displays a UIView
I am currently developing an App based on a Navigation Controller. However, when the
I am developing an navigation based app in which table data entered dynamically though
I am developing a navigation based application and I have a custom titleView and
While developing a navigation based application from scratch, I added some new uisubview Controller
I'm developing a navigation app which can run in the background. That's working fine
So, I started developing an app in an entirely view-based way in Xcode 3.2.5
I am developing an iPhone app which is a Navigation based app. In this
I'm developing my first iPhone app, which is a navigation based one. I want

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.