Xcode 4 .xib Create iPad Version

This worked for me:

  1. Make a copy of the .xib in the Finder.
  2. Open the copied file in a text editor.
  3. Change “com.apple.InterfaceBuilder3.CocoaTouch.XIB” to “com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB”.
  4. Change all instances of “IBCocoaTouchFramework” to “IBIPadFramework”.
  5. Search for sizes like {480, 320} and edit them. Or just reopen the file in Xcode and use the GUI to resize items as needed.

This also works in reverse, if you need to change an iPad xib into an iPhone xib.

Leave a Comment