Monday, January 14, 2013

Convert from iPhone to iPad XIB


You can convert iPhone xib into iPad xib using following step.
Right click the file (in xcode) and Open As > Source Code
The 2nd line should look like:
 type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
Replace with:

 type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
Search for "IBCocoaTouchFramework" and Replace all occurrences with "IBIPadFramework"
Save the file and Open As > Interface Builder - iOS
you can do this for al xib...and you have your iPhone xib now in iPad xib.

No comments: