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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:23:14+00:00 2026-05-24T14:23:14+00:00

I have a UITabBarController that has 3 tabs. Each tab contains a UITableViewController. When

  • 0

I have a UITabBarController that has 3 tabs. Each tab contains a UITableViewController. When I add a subview to one of the UITableView’s and then switch to another tab I get the error:

    *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: 
'[<MessageTableViewController 0x703f6b0> setValue:forUndefinedKey:]: this class is not key 
value coding-compliant for the key emptyView.'

emptyView is the subview that I added. I am not sure why the new view that is being switched to requires emptyView?

UPDATE:
I am adding to emptyView by:

[self.view addSubview:emptyView];

in my viewDidAppear method.

MessageTableViewController is the rootview for the tab I am navigating to.

I am also noticing that no matter which tab I navigate to, I get this error. emptyView is only in the NIB for 1 of my VC’s. Not all three. Each tab has its own unique VC.

  • 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-24T14:23:15+00:00Added an answer on May 24, 2026 at 2:23 pm

    Try checking to see if the class is set correctly in Interface Builder identity inspector.
    You will then want to look under the custom class heading to see if that objects class is set correctly.

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

Sidebar

Related Questions

I have an application that has a UITabBarController with two tabs, each having its
HEllo, I have a hybrid iPhone application that has a UITabBarController and 5 Tabs.
I have a UITabBarController which has on one of its tabs, a UINavigationController. The
I have an app that has a UINavigationController that pushes a UITabBarController into view.
I have a RootViewController that has some UITabBarController properties: @interface RootViewController : UIViewController<LoginViewDelegate, UITabBarControllerDelegate>
I'm developing an iPhone app, where I have a UITabBarController that has a UINavigationController
Ok, so here's the thing. I have a UIViewController that contains a UITabBarController. That
I have a UITabbarController set by the Interfacebuilder. The tabbarcontroller has 5 tabs, the
I have a UITabBarController. One of the tab shows application bookmarks, these bookmarks are
I have a UITabBarController that nests a UIView-Subclass (ImageViewer) as it's third tab. In

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.