Xcode 8.1 中的更新帧按钮消失了

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40351994/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:31:39  来源:igfitidea点击:

Update frames button gone in Xcode 8.1

xcodexcode8

提问by Daniel Larsson

After updating to 8.1 (8B62) there is no longer a button for updating frames in a storyboard/xib, in the Resolve Auto Layout Issues shortcut in the bottom right corner of the Interface Builder. I heard talk about putting such a button on the new and fancy touch bar, but what does this mean to a mere mortal like myself? Do I have to start using the menu bar?

更新到 8.1 (8B62) 后,界面生成器右下角的“解决自动布局问题”快捷方式中不再有用于更新故事板/xib 中的帧的按钮。我听说过要在新奇的触摸栏上放置这样一个按钮,但这对像我这样的凡人来说意味着什么?我必须开始使用菜单栏吗?

Now: enter image description here

现在: 在此处输入图片说明

Before:

前:

enter image description here

在此处输入图片说明

回答by Bhavik Bhagat

Update frames is a separate option now and not inside the drop down. I am on Xcode Version 8.1 (8B62) and I can see the below button:

更新帧现在是一个单独的选项,而不是在下拉列表中。我在 Xcode 版本 8.1 (8B62) 上,我可以看到以下按钮:

enter image description here

在此处输入图片说明

It is enabled only if the control is misplaced

仅当控件放错位置时才启用