界面生成器:如何清理已删除的约束? [英] Interface Builder: How to clean up the deleted constraint?

查看:123
本文介绍了界面生成器:如何清理已删除的约束?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用命令删除删除在IB地图视图控件的一些限制。而不是被完全去除,约束实际上只是褪色所示附加的图片。

I used command-delete to remove some constraints on the Map View widget in IB. Instead of being completely removed, the constraints are actually just faded as shown in the attached picture.

我曾经尝试都保存文件并重新打开该项目,但似乎他们不会用X code被删除。

I have tried both saving the file and reopening the project, but it seems like they will not be removed by XCode.

我怎样才能让他们去掉?

How can I get them removed?

修改

这是我在Size Inspector窗口看到

This is what I see in the Size Inspector window

我使用X code 6(6A313)

I am using XCode 6 (6A313)

推荐答案


 这里是屏幕截图,供大家参考。

instead of using cmd and delete, select the view ,goto size inspector and delete the constraints there, here is the screen shot for your reference.

这篇关于界面生成器:如何清理已删除的约束?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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