我如何(容易)在Interface Builder在X code 6删除约束 [英] How do I (easily) delete a constraint in Interface Builder in Xcode 6

查看:100
本文介绍了我如何(容易)在Interface Builder在X code 6删除约束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设你已经选择了一个对象,你必须在工具面板中打开尺寸选择。可以看到施加到对象的约束列表。在约束列表,你可以点击小齿轮,并挑选删除。你不能在X code 6。

Assume you've selected an object and you have the Size Selector in the Utilities panel open. You can see the list of constraints applied to the object. In the list of constraints you could click on the little gear and pick delete. You can't in Xcode 6.

还有几种方法在IB删除约束:

There are still several ways to delete constraints in IB:


  • 找到的文档大纲的约束,并删除这种方式(但它可以是很难找到)。

  • 在故事板上点击小酒吧并删除这种方式(这可苦点击)。

  • 在大小选择器约束,这将打开属性检查器,并突出显示文档大纲约束
  • 双击。这可能是一个讨厌当你想删除多个。

不过,我想念易用齿轮的删除功能,我想知道,如果它仍然存在以类似的方式,我只是可以找到它。而其他的工作方式,我发现自己浪费了大量的时间特别是随着新的大小类功能播放时。所以,找一个更简单的方法来删除它们?

Still, I miss ease of use of the gear delete feature and I'm wondering if it's still there in a similar fashion and I just can find it. While the other ways work, I find myself wasting lots of time especially when playing with the new Size Classes feature. So, find a easier way to delete them?

推荐答案

在X code6(beta5的)当我点击的尺寸检查特定的约束,它获得一个薄蓝色边框。约束然后可以使用退格被删除。

In Xcode6 (Beta5) when I click on a particular constraint in the Size inspector, it acquires a thin blue border. The constraint can then be deleted using the backspace.

这篇关于我如何(容易)在Interface Builder在X code 6删除约束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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