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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:22:11+00:00 2026-05-31T01:22:11+00:00

I am writing a simple app with a tab bar controller, and two tabs.

  • 0

I am writing a simple app with a tab bar controller, and two tabs. The first tab will switch to another UITableViewController, which works fine. The second tab should switch to a view controller, which inherits from UIViewController, but it just shows black screen.

And I hook on ViewDidLoad, ViewDidAppear functions in the destination UIViewController, I found it is loaded well. But it just shows me a black screen. Any idea of what happen here? And how to fix it?

  • 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-31T01:22:12+00:00Added an answer on May 31, 2026 at 1:22 am

    remove the empty implementation of - (void)loadView from your viewController.
    Since you load your view from a nib (in your case storyboard) you don’t need to construct your view in code (i.e. implement loadView).

    It’s there because of a bug (10887149) in the Xcode view controller template.

    EDIT: This bug is fixed in Xcode 4.3.2. The template does no longer contain - (void)loadView

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

Sidebar

Related Questions

I'm writing a simple downloader app which has two activities: SearchActivity: shows a list
I'm writing a simple iPhone app which lets a user access a series of
I am writing a simple Windows app in c++, that will be able to
I'm writing a simple app which allows a user to enter their income and
I'm writing a simple dictionary app which gives suggestions for words as you type.
I am writing a simple android app which have a edittext and a button.
I am currently writing a simple web app which needs to update form changes
I'm currently writing a simple app to compare two lists and return differences if
I am writing a really simple app which should be quick to use. I
I am writing a simple app which whena buttton is clicked a command is

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.