Just upgraded to the latest Xcode, and iOS6. When you create a new view controller with XIB it defaults to the iOS6 screen size, but you can change this manually to see how your app will look in iOS5.
My question is, are you meant to have two XIBs, one designed specifically for iOS5 and the other in iOS6; or do you use some kind of auto-sizing tool to handle everything?
Thanks.
There has been lots of discussions around that in the Apple Dev Boards. My take on this:
If you can work with autoresizing or auto-layout, do not use multiple XIBs.
I bet in 99% of the views everybody uses, this is perfectly manageable. Table-views are a no-brainer, if you need a XIB for your table views only use one. If your view significantly differs for 3.5″ and 4″, use two XIBs. But try to avoid this by implementing a clever
layoutSubviewsroutine.Simple example for a parent view always aligning a subview
bottomViewat the bottom and full width: