从xib文件中删除界面元素 [英] Removing interface elements from an xib file

查看:158
本文介绍了从xib文件中删除界面元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Interface Builder中添加了一些项目,例如图中的圆形矩形按钮到我的.xib文件中,但是我无法删除它们。

I have added some items, such as the pictured "round rect button" in Interface Builder to my .xib file, but I am not able to remove them.

如果我只需单击'x',它就会消失,但不会从界面中删除。我如何实际删除它?

If I just click on the 'x', it disappears, but it's not removed from the interface. How do I actually delete it?

推荐答案

突出显示如下所示的项目并点击删除键

Highlight the items as shown below and hit the delete key

如果您看不到菜单,可以点击此图片中的箭头进行展开

If you can't see the menu it can be expanded by clicking the arrow in this image

这篇关于从xib文件中删除界面元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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