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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:42:25+00:00 2026-05-30T21:42:25+00:00

I am having a weird problem regarding the uiviewcontroller. When the view controller is

  • 0

I am having a weird problem regarding the uiviewcontroller. When the view controller is called it comes up almost blank, with only the nav bar I put through storyboard. I have a class just for this controller which specifies how it should load and what to do once it does load etc. I have assigned this class to the view controller through storyboard. I added a button so when the button is pressed the view comes up. When the view comes up there is no functionality whatsoever. I tried creating other classes and assigned it to it but still no change. My classes are set to UIViewController. The code is the basic code from when you add a class:

 #import <UIKit/UIKit.h>

@interface testViewController : UIViewController

@end

Anyone has any idea why this is happening? its been baffling me for hours.

Here is the view controller in story board

Here is how it shows up during run time

  • 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-30T21:42:26+00:00Added an answer on May 30, 2026 at 9:42 pm

    I had the same issue a while ago. After some time investigating on the Web and the templates provided by XCode I found out that if you Implement the function – (void)loadView to your ViewController the View won´t load or will just show black.

    - (void)loadView
    {
        // If you create your views manually, you MUST override this method and use it to create your views.
        // If you use Interface Builder to create your views, then you must NOT override this method.
    }
    

    I hope this helps.

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

Sidebar

Related Questions

I'm having a weird problem regarding PHP and charset encoding .. I am developing
I'm having the weird problem that after having javascript inject some dom-elements the css-rules
I'm having a weird problem with the following function, which returns a string with
I'm having a weird problem with memset, that was something to do with a
I'm having a weird problem with index organized table. I'm running Oracle 11g standard.
I am having a weird problem with sending data back to my server. This
I'm having an extremely weird problem with a PHP script of mine. I'm uploading
This is a really weird problem that I have been having. When I download
This is a weird problem I have started having recently. My team is developing
I'm having a bit of a weird problem to do with scope of variables.

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.