Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting iPhone XIB to iPad version with Xcode 4

With Xcode 3 in Interface Builder you were able to upscale an iPhone XIB file to an iPad version. However in XCode 4 I cannot find a way to do this. I would really prefer not to have to create the XIB again from scratch. Is there a way to do this like there was in Xcode 3?

like image 803
michaellindahl Avatar asked Feb 27 '26 23:02

michaellindahl


1 Answers

This has been asked a few times, and unfortunately it seems (or rather, it's sure) that the option (Create iPad Version Using Autosizing Masks) has been removed from Xcode 4.

You will need to copy/paste the UI elements, and re-link them to your code.

OR: You are now allowed to install both Xcode 3 & 4 (simply choose a different folder to install it to). Since the nib files' format did not change, you can upgrade them in Xcode 3, and copy the converted files back into Xcode 4.

like image 51
antalkerekes Avatar answered Mar 02 '26 06:03

antalkerekes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!