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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:06:58+00:00 2026-06-04T05:06:58+00:00

I’m having issues setting the view outlet of a view controller containing only a

  • 0

I’m having issues setting the view outlet of a view controller containing only a UITabBarController. I created this view controller by creating a new file as UIViewController, and dragging in a UITabBarController in IB. When I run my application and try to open the view controller containing this view controller, I get:

-[UIViewController _loadViewFromNibNamed:bundle:] loaded the “RootMenuViewController” nib but the view outlet was not set.

This is because I haven’t associated the view of the RootMenuViewController with anything.

The problem I’m trying to wrap my head around it what to associate the view outlet with, because I can’t seem to create the outlet to the UITabBarController in IB. Adding a View component creates another window within IB, but associating that results in the Tab Bar not displaying. Any suggestions?

Below is what I see in IB.

screenshot of IB

  • 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-04T05:06:59+00:00Added an answer on June 4, 2026 at 5:06 am

    I’d just like to update that I technically didn’t solve this issue, I just worked around it. My original intention was basically to have a central view controller managing several view controllers, each representing a tab, requiring the use of the Tab Bar Controller.

    However, I read somewhere that you don’t want to include the Tab Bar Controller element in a regular View Controller XIB file. I don’t know whether this was true or not, but it was reason enough for me to try to work around. Instead, I settled on one (and only one) view controller to manage everything, and have that view controller be responsible for the views of each tab, rather than a view controller for each tab.

    This allowed me to assign the central view controller to implement UITabBarDelegate, and I simply respond to tab changes and swap views. I had each view sized to fit above the tab bar, and reference its data in the central view controller.

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

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
In my XML file chapters tag has more chapter tag.i need to display chapters
I am trying to render a haml file in a javascript response like so:

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.