如何删除警告“按钮的框架在运行时将有所不同。” [英] How to Remove the Warning "Frame for Button will be different at run time."

查看:118
本文介绍了如何删除警告“按钮的框架在运行时将有所不同。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode 5开发者预览版。当我在界面构建器中更改或添加XIB文件时,Xcode显示此警告:

I am using Xcode 5 developer preview. When I change or add a in the XIB file from interface builder Xcode shows this warning:


按钮的框架在运行时将有所不同。

Frame for Button will be different at run time.

如何删除此警告?

推荐答案

可能你在约束中产生了冲突。解决它
打开nib文件转到编辑器>解决所有约束问题>从那里你可以重置所有/所需的约束。

Probably you have created a conflict in constraints. To resolve it Open nib file Go to editor > Resolve all constraint issues> from there you can reset all/desired constraints.

这篇关于如何删除警告“按钮的框架在运行时将有所不同。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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