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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:39:12+00:00 2026-06-06T17:39:12+00:00

I have a view MainView that has a navigation bar without any navigation controller,

  • 0

I have a view “MainView” that has a navigation bar without any navigation controller, also, it has a tab bar without a tab bar controller. each tab bar item has its own view controller. everytime i click on a tab bar item it just removes the current view controller and inserts another view controller.

then, a certain tab bar item has a view “listview” and this view has a uitableview in it, and when i click on an item in the uitableview, it removes the current view and adds another subview “detailview”. but this time, i want to add a navigation button on the current view, so that i can go back to “listview”.

how can i access the navigation bar on the “MainView” from my current view?

  • 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-06T17:39:14+00:00Added an answer on June 6, 2026 at 5:39 pm

    It sounds like you are making the mistake of using only views when you should be making correct use of view controllers. If you are a new developer this is especially important to get right.

    Your login screen should be a view controller, e.g. MyLoginViewController. This can initially be the rootViewController of your main window, or you can present it modally over your main content when the app launches.

    After logging in, you can either replace the window’s rootViewController with your main view controller, or dismiss the login screen if you presented it modally.

    Your main view controller should be a UITabBarController, and if you want push/pop navigation with back buttons etc. you need to put a UINavigationController inside each tab, and then push the top-most view controller onto that.

    This can all be done very easily using interface builder as well.

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

Sidebar

Related Questions

I have a main View that has a table which has it's own controller.
I have a View Controller that initializes a UIView as its view. That view
Im writing an app that has a navigation controller as it's main menu system
Hi I have a mainView window which has its dataContext set to it's own
I have a view that has a partial view in it, everything works fine,
I created a navigation controller based app. The view that opens up below the
I have a View that has a UIWebView, and an OptionsPane (Custom UIViewController with
I have a main view controller that consists of 1 button that when tapped,
Ok heres the situation. I have a View controller class that serves as the
I have an iPhone app with a main view that has a UILabel and

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.