• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Xcode 4.3, XIB files and deployment target iOS 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Xcode 4.3, XIB files and deployment target iOS 3.1 (From: John Michael Zorko <email@hidden>)

  • Prev by Date: Re: Getting NSApplicationDelegate protocol
  • Next by Date: Re: Getting NSApplicationDelegate protocol
  • Previous by thread: Xcode 4.3, XIB files and deployment target iOS 3.1
  • Next by thread: Fwd: Need sample code for NSDocument / NSDocumentController
  • Index(es):
    • Date
    • Thread