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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:54:07+00:00 2026-05-22T18:54:07+00:00

I have a very simple window based app, i am simply putting a navigation

  • 0

I have a very simple window based app, i am simply putting a navigation view controller as window’s root view controller and it’s crashing. This is the only thing i changed in the template project:

@interface AppDelegate : NSObject <UIApplicationDelegate> {
    UINavigationController *navigationController;
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.

    navigationController = [[UINavigationController alloc] init];


    [[self window] setRootViewController:navigationController];
    [self.window makeKeyAndVisible];
    return YES;
}

It crashes saying:

2011-05-26 20:18:57.194 ZebraSDKTest[5560:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UICustomObject 0x8b3d760> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key navigationController.'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x00dbf5a9 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x00f13313 objc_exception_throw + 44
    2   CoreFoundation                      0x00dbf4e1 -[NSException raise] + 17
    3   Foundation                          0x00791677 _NSSetUsingKeyValueSetter + 135
    4   Foundation                          0x007915e5 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 285
    5   UIKit                               0x0020d30c -[UIRuntimeOutletConnection connect] + 112
    6   CoreFoundation                      0x00d358cf -[NSArray makeObjectsPerformSelector:] + 239
    7   UIKit                               0x0020bd23 -[UINib instantiateWithOwner:options:] + 1041
    8   UIKit                               0x0020dab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
    9   UIKit                               0x0001317a -[UIApplication _loadMainNibFile] + 172
    10  UIKit                               0x00013cf4 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 291
    11  UIKit                               0x0001e617 -[UIApplication handleEvent:withNewEvent:] + 1533
    12  UIKit                           

0x00016abf -[UIApplication sendEvent:] + 71
13  UIKit                               0x0001bf2e _UIApplicationHandleEvent + 7576
14  GraphicsServices                    0x00ff8992 PurpleEventCallback + 1550
15  CoreFoundation                      0x00da0944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16  CoreFoundation                      0x00d00cf7 __CFRunLoopDoSource1 + 215
17  CoreFoundation                      0x00cfdf83 __CFRunLoopRun + 979
18  CoreFoundation                      0x00cfd840 CFRunLoopRunSpecific + 208
19  CoreFoundation                      0x00cfd761 CFRunLoopRunInMode + 97
20  UIKit                               0x000137d2 -[UIApplication _run] + 623
21  UIKit                               0x0001fc93 UIApplicationMain + 1160
22  ZebraSDKTest                        0x00002549 main + 121
23  ZebraSDKTest                        0x000024c5 start + 53

)

  • 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-22T18:54:08+00:00Added an answer on May 22, 2026 at 6:54 pm

    Looks like you have a connection to a former existing UINavigationController IBOutlet in one of your nib files.

    Start with MainWindow.xib and check for such a connection.

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

Sidebar

Related Questions

Have a look at this very simple example WPF program: <Window x:Class=WpfApplication1.Window1 xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
I have very simple window where I have 2 buttons - one for cancel,
I have very simple select like this: SELECT * FROM table WHERE column1 IN
This is probably a very simple question, but at this time I have myself
I have a very simple WPF project comprising a Window and Usercontrol. I'm very
I have some very simple javascript code that looks like this: var newWindow =
I have a very simple windows Service that is developed in vb.net 2008. When
i have very simple problem. I need to create model, that represent element of
I have a very simple problem which requires a very quick and simple solution
I have a very simple WPF application in which I am using data binding

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.