我使用的是Xcode 5开发者预览版.当我从interface builder Xcode在XIB文件中更改或添加时,会显示以下警告:

按钮的帧在运行时将不同.

如何删除此警告?

推荐答案

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.

Objective-c相关问答推荐

将 NSMutableAttributedString 转换为 NSString

如何从 Appdelegate 显示 UIAlertController

碰撞技术如何运作?

isEqualTo: 和 isEqual 之间的区别:

在 Xcode 5 中运行代码覆盖时出现数十个profiling:invalid arc tag

我们可以在 UIPageViewController 中自定义页面指示器吗?

如何获得本地化的 Cancel、Done 等?

使用正则表达式在 Xcode 中查找/替换

未找到 Apple Mach-O 链接器警告目录

Lipo错误!!无法打开输入文件

为什么 NSOrderedSet 不继承自 NSSet?

iOS 上 64 位的 BOOL

Objective-C 的 NSMutableArray 是线程安全的吗?

从 NSString 中删除换行符

Xcode 7 UI 测试:如何在代码中消除一系列系统alert

IOS 中的圆形进度条

当 UIView 框架更改时,视图内的 AVPlayer 层不会调整大小

使 UILabel 的文本加粗

有没有办法在不使用 UINavigationController 的情况下更改 Storyboard 中 UINavigationBar 的高度?

如何让 UITextView 检测网站、邮件和电话号码的链接