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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:05:36+00:00 2026-05-31T13:05:36+00:00

I have a TabBar app built in Xcode 4.2.1 using storyboards. The problem is

  • 0

I have a TabBar app built in Xcode 4.2.1 using storyboards. The problem is that a UITableView is not reflecting changes I make in IB. For example: when I use IB to make changes to Background Color, Scroller visibility, separator color, there have no visible effect on the UITableView.

However, if I set these params programmatically, they work great. What am I missing? Some code below:

- (void)viewDidLoad
{
    [super viewDidLoad];

    // get a pointer to our delegate. This is where the data will be stored
    // which gets passed between the Views (e.g. Favorites)
    appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];

    myTableView = [[UITableView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame] style:UITableViewStylePlain];

    myTableView.dataSource = self;
    myTableView.delegate = self; 
//  myTableView.backgroundColor=[UIColor blackColor];

    // this will suppress the separator lines between empty rows.
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1, 1)];
    myTableView.tableFooterView = view;

    self.view = myTableView;
}
  • 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-31T13:05:37+00:00Added an answer on May 31, 2026 at 1:05 pm

    FIXED: The above class extended ViewController. I changed it to extend UITableViewController and everything fell into place. The viewDidLoad() method is now greatly simplified because many of the things I was manually configuring are handled automatically by the UITableViewController class. I can now change the UITableView params in IB as expected.

    - (void)viewDidLoad
    {
        // during construction, call the super class's method FIRST. 
        [super viewDidLoad];
    
        // get a pointer to our delegate. This is where the data will be stored
        // which gets passed between the Views (e.g. Favorites)
        appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
    
        // this will suppress the separator lines between empty rows.
        UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1, 1)];
        self.tableView.tableFooterView = view;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a TabBar App. I have created a UITableView class called Schedule that
I've got a sample application on http://github.com/niklassaers/Test-iPhone-TabBar-App that shows my problem: I have a
I have built my app using Storyboards. I have a UITabBarController and a NavigationController
I have an TabBar app that I would like to be in landscape and
I have an app with tabbar and webview. I'm trying to make the app
I have an app that has a tabbar at the bottom. When I select
I have an app that has a TableView, NavigationView and TabBar running together. There
I have an app using a tab bar host api that I found and
I have a simple tabbar app. Built directly from the tabbar template. As I
I have a tabbar app and I want to add login window that will

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.