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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:14:38+00:00 2026-06-12T11:14:38+00:00

I have an app that main layout is a custom top bar (with actions

  • 0

I have an app that main layout is a custom top bar (with actions similar to a web browser, back, forward, etc.), a left main menu and a center view where all the information is displayed.

So at first I think of this app as a Master-Detail one but the top bar and the navigation options seems to prevent this option.

Then I remember the view controllers containment option. Basically I will try to build the root view controller with a view representing the top bar, a table view as the main menu and in the central view add the child view controllers. This option also allows me to build view controllers with similar layout (left menu and center display view).

The truth is that I’m not 100% sure that this is the better option, so I’m asking here if anyone has experience with something like this and if you think this is the best option to build this kind of layout.

Cheers!

EDIT1: Here is an image that represent the layout. In the content view there could be other views similar to a Master-Detail view.

enter image description here

  • 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-12T11:14:39+00:00Added an answer on June 12, 2026 at 11:14 am

    I would create it like this:

    Start with a UINavigationController.

    This will allow you to use the UINavigationBar at the top in order to get your Top Menu Bar.

    Then, create a custom UIViewController which contains a UITableView and a UIView (not controllers) and push it onto the navigation stack. This allows you to control both views from the same controller, making interaction between them trivial.

    On the other hand, if you need to swap out the right or left views a lot and want them to be “stand-alone” then you will be better off using view controller containment as you initially thought. This is slightly more involved, but the UIView class reference has very good documentation on how to accomplish this.

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

Sidebar

Related Questions

i have a mvvm app that the main window is a tab control. i
I have a main app that will have many plugins. Here is the PluginReader
I have an app that opens a non-modal form from the main form. The
I have an app that so far consists of two Activities: The Main Menu
I have module application. When I run it, the main window of that app
I am making an app in which i have a main activity that the
I have a widget that is a part of my main app. Usually when
The main idea is that I have several worker instances of a Rails app,
I have a widget that supposed to call an Activity of the main app
I'm creating android app that has table layout for the main activity, and that

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.