8.0之前的iOS版本上的属性不可用警告 [英] Attribute Unavailable warning on iOS versions prior to 8.0

查看:84
本文介绍了8.0之前的iOS版本上的属性不可用警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在界面构建器中导致此警告的原因是什么?

What's causing this warning in the interface builder?

属性不可用
布局属性相对于8.0之前的iOS版本的布局边距。

Attribute Unavailable Layout attributes relative to the layout margin on iOS versions prior to 8.0.

我正在使用XCode 6 Beta。警告指向xml源中与属性无关的行。

I'm using the XCode 6 Beta. The warnings are pointing to lines in the xml source that do not concern attributes.

推荐答案

由于我已经创建了约束,答案是单击约束,然后查看Utilities栏(在右边)。如下图所示,单击某个项目,然后确保未选中相对于边距。

Since I had already created the constraints, the answer was to click on the constraint, and then look in the Utilities bar (on the right). As shown in the picture below, click on an item and then make sure that "relative to margin" is unchecked.

这篇关于8.0之前的iOS版本上的属性不可用警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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