Xcode愚蠢警告:View正在剪切其内容 [英] Xcode stupid warning: View is clipping its content

查看:628
本文介绍了Xcode愚蠢警告:View正在剪切其内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在Xcode 4中收到这个愚蠢的警告


I get this stupid warning in Xcode 4

Clipped Content
View is clipping its content

如果我创建一个无边框的斜角按钮,其图像大于按钮本身。

为什么?我怎么能压制它?

if I create an unbordered bevel button with an image bigger then the button itself.
Why? How can i suppress it?

推荐答案

我遇到了类似灰色警告的问题。

I had a similar problem with a gray warning.


警告:剪切的内容。视图在
XXXX.xib

我通过右击 XXXX.xib > <$ c $摆脱了警告c>打开为> 源代码

在xcode中再次构建警告后已经走了。

After building again in xcode the warning was gone.

这篇关于Xcode愚蠢警告:View正在剪切其内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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