Xcode: BACKSPACE + CMD 和 BACKSPACE 的区别?

Xcode: difference between BACKSPACE + CMD and BACKSPACE?

我不明白使用 BACKSPACE+CMD 和只使用 BACKSPACE 之间的区别。

我看到当我在 Storyboard 中的元素上使用 BACKSPACE+CMD 时,该元素变得不透明,仅使用 BACKSPACE 它会删除该元素。我在文档中找不到答案。

据我所知,当不透明时,表示组件(约束或 UI 元素)已针对特定大小 class 取消安装。对我来说,组合是 Command + Delete。

来自About Designing for Multiple Size Classes(关键部分以粗体显示)。

With size classes, a storyboard or xib file can be used for any available screen area. You build your interface as it will look in most sizes, then update only the parts that need to change when the available screen size changes.

A size class identifies a relative amount of display space for the height and for the width. Each dimension can be either compact, for example, the height of an iPhone in landscape orientation, or regular, for example, the height or width of an iPad. Because much of the layout of an app does not need to change for any available screen size, there is an additional value, any.

希望对您有所帮助。

P.S。您是否检查了 Xcode 的键绑定?