Xcode 5中的iOS7故事板不断垂直增长 [英] iOS7 storyboard in Xcode 5 keep growing vertically

查看:114
本文介绍了Xcode 5中的iOS7故事板不断垂直增长的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

点击Xcode 5中的iPad故事板后,它询问我是否要升级到iOS7故事板。当警报在屏幕上时,它会使视图控制器垂直增长。选择升级后,增长停止,但到那时损坏已经完成,视图控制器的大小已经增加。

After clicking on an iPad storyboard in Xcode 5, it asked if I want to upgrade to iOS7 storyboard. While the alert is on the screen, it keeps growing the view controllers vertically. the "growing" stops after you select "upgrade", but by that time the damage is done and the size of the view controllers have increased.

任何解决方法恼人的问题?

Any way to fix this annoying problem?

推荐答案

好的,我找到了解决办法:

ok, I found a work-around:


  1. 在Xcode更改其故事板之前提交您的代码版本(我们将回到此版本)

  1. commit a version of your code before Xcode changes its storyboard (we will get back to this version)

点击故事板。 Xcode会询问您是否要升级。

click on the storyboard. Xcode will ask if you want to upgrade.

选择始终升级按钮(我忘记了按钮的实际文本)

Choose the "always upgrade" button (I forget the actual text of the button)

在这种状态下,故事板已被Xcode搞砸了。别担心关闭项目。

at this state the storyboard is already messed up by Xcode. don't worry. just close the project.

执行git stash并返回上面步骤0中提交的版本

do a "git stash" and go back to the version to committed in step 0 above

再次打开你的项目。

现在Xcode已升级你的故事板而不会扭曲它。

now Xcode has upgraded your storyboard without distorting it.

这篇关于Xcode 5中的iOS7故事板不断垂直增长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆