RE: Xcode 4.3, XIB files and deployment target iOS 3.1
RE: Xcode 4.3, XIB files and deployment target iOS 3.1
- Subject: RE: Xcode 4.3, XIB files and deployment target iOS 3.1
- From: Julius Oklamcak <email@hidden>
- Date: Fri, 06 Jul 2012 06:00:41 -0400
Presuming that the firstgen iPod touch has iOS 3.x on it, it is probably
crashing here:
> self.window.rootViewController = self.tabBarController;
Since rootViewController was introduced to UIWindow in iOS 4.0. Pre-iOS 4.0
you need to use (from what I recall):
[self.window addSubview:self.tabBarController.view];
Which will cause newer versions of iOS to complain. Though there may be
other issues related to Xcode 4.3 supporting ancient versions of iOS (check
the developer forums) and pay attention to Xcode build warnings.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden