简体   繁体   English

Xcode 5将Xib升级到iOS 7

[英]Xcode 5 upgrade xib to iOS 7

So I am converting my pre-iOS 7 project. 因此,我正在转换我的iOS 7之前的项目。 When I open it using Xcode 5 and go to individual xib file, it does not ask me to upgrade the xib. 当我使用Xcode 5打开它并转到单个xib文件时,它不会要求我升级xib。 I do want to upgrade all xib files. 我确实要升级所有xib文件。

Should I need to be concerned with this at all? 我是否需要对此完全关心?

Updating your .xib files to ios7 is fairly simple, all you have to do is go to your project navigator (blue page that should be at the top of your left sidebar), then click on your project, then click info at the top of the screen. 更新您.xib文件ios7是相当简单的,你所要做的就是去你的项目导航(蓝色页面,应该是在你的左侧边栏的顶部),然后点击你的项目,然后单击info在顶部屏幕。 Where you see iOS deployment target , change it to 7.0 (the path is Project manager> project> info> deployment target ): 在您看到iOS deployment target ,将其更改为7.0 (路径为Project manager> project> info> deployment target ):

项目经理>项目>信息>部署目标

now, you should be able to update your .xib files to ios7. 现在,你应该可以更新您.xib文件ios7。 Good luck! 祝好运!

You should not worry about the format of the nib/storyboard formats. 您不必担心笔尖/故事板格式的格式。

Xcode will upgrade their structure lazily once you actually open them in Xcode 5. This has nothing to do with supporting iOS7, as both upgraded nib files and Xcode 4.X nib files will all use the same iOS7 widgets when the project is compiled against the iOS7 SDK. 一旦在Xcode 5中实际打开它们,Xcode就会懒惰地升级它们的结构。这与支持iOS7无关,因为在针对该项目编译时,升级的nib文件和Xcode 4.X nib文件都将使用相同的iOS7小部件。 iOS7 SDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM