xcode 在 Interface Builder 中删除自动布局(约束)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9566789/
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-09 04:17:12  来源:igfitidea点击:

Remove autolayout (constraints) in Interface Builder

xcodemacoscocoainterface-builderosx-snow-leopard

提问by Olof

I'm trying to make my project compatible with Snow Leopard and I am not able to remove the autolayout in the nibs using Interface builder (XCode 4.3 on Lion).

我正在尝试使我的项目与 Snow Leopard 兼容,但我无法使用 Interface builder(Lion 上的 XCode 4.3)删除笔尖中的自动布局。

Is it possible to remove the constraints and the autolayout in a nib on XCode?

是否可以在 XCode 的笔尖中删除约束和自动布局?

回答by Olof

Found the answer here

这里找到答案

  • Go to the File inspector in interface builder, and untick "Use Auto Layout".
  • 转到界面构建器中的文件检查器,然后取消选中“使用自动布局”。

回答by GSD

enter image description here

在此处输入图片说明

Go to the file inspector and uncheck the option 'Use Autolayout' below Document versioning.

转到文件检查器并取消选中文档版本控制下方的“使用自动布局”选项。