I create my application without MainWindow nib, and after upgrading to the new SDK, my application completely broke. In main () of the main.m function, I have:
int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
Here are the relevant application bits: didFinishLaunchingWithOptions: in AppDelegate.m
window = [[UIWindow alloc] init]; tabBarController = [[UITabBarController alloc] init]; UINavigationController *nav = ...; UITableViewController *table = ...; tabBarController.viewControllers = [NSArray arrayWithObjects:nav, table, nil]; [window addSubview:tabBarController.view]; [window makeKeyAndVisible];
When the application starts, the tab bar is visible, and it is also the view on the first tab. However, all touch events are either not recorded or are not transmitted to the window itself. I subclassed UIWindow and set window as an instance of this. In this subclass, I overloaded the sendEvent: method to enter the console with every call. I can not see anything. What am I doing wrong?
source share