Hello, all ...
I'm working on an app that has to work on first-gen iPod touch devices. I set
the deployment target to 3.1 and made sure armv6 was specified such that my app
now at least launches on said firstgen iPod touch. However, it hangs before
showing the tab bar or first view controller:
viewController1 = [[[FirstViewController alloc]
initWithNibName:@"FirstViewController_iPhone" bundle:nil] autorelease];
viewController2 = [[[SecondViewController alloc]
initWithNibName:@"SecondViewController_iPhone" bundle:nil] autorelease];
self.tabBarController = [[[UITabBarController alloc] init] autorelease];
self.tabBarController.viewControllers = [NSArray
arrayWithObjects:viewController1, viewController2, nil]; // HANGS HERE
self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
The view controllers are the Xcode-generated versions -- i've not added any UI
elements yet. Though initWithNibName:bundle: is called on each VC, their
viewDidLoad methods are _not_ called. Is there something special I need to do
with the Xcode-generated XIB files in order to support iOS 3.1?
Regards,
John
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]