ios - 如何在 XCode 8.3 中将 "Update Frames"设置为 None?

标签 ios xcode autolayout

我正在做一个 Ray Wanderlich iOS 学徒,我们现在正在使用 AutoLayout。

我被要求向这个特定的 TableView 添加一些约束,我可以这样做。

我不能做的是修改“更新帧”行为。在这种特殊情况下,本书要求我将其设置为“无”。

Image of missing menu

我可以告诉你,这不是默认行为,因为我的标签已经按照书中的警告缩小了——见附件警告和图片。

Note: If you had set Update Frames to “Items of New Constraints”, then Interface Builder would have moved the label to where the dotted box is. That’s why you left it set to None because you didn’t want it to do that here.

Wrong Reaction to the View

我可以按照教程的意图做些什么?

My XCode without the option

最佳答案

所以要么你点击圆形箭头:

update frames buttom

或者简单地使用这个快捷键:

shortkey update frames

关于ios - 如何在 XCode 8.3 中将 "Update Frames"设置为 None?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44938203/

相关文章:

ios - 为什么 iOS 应用程序包中的 PNG 图像比我的项目中的大?

ios - Flutter AMSupportURLConnectionDelegate 都在 ??错误

iphone - 在 iOS 上设计 3 行对话框的方法 - 多语言可用

ios - 应用约束后移动项目

ios - 将数组声明为类的属性并在 Swift 中使用它

iOS 8 - 查找具有标识符的 UIView 的约束

ios - 卡在 svc webservice 请求未到达服务器

Xcode 中的 iOS 应用程序内存使用量不断上升

iphone - 在 iPhone 中向 Facebook 好友发送消息,Objective C

iphone - iOS 按住手势 + 点击