开发者

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 t开发者_运维百科his. 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜