之前的8.0首先基线布局属性上的iOS版本:属性不可用 [英] Attribute Unavailable: First baseline layout attribute on iOS versions prior to 8.0

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

问题描述

我得到以下的警告的中的 X $ C $ 6.1ç

属性不可用:在iOS版本首先基线布局属性
  之前的8.0

Attribute Unavailable: First baseline layout attribute on iOS versions prior to 8.0

我想,这也是导致我的 iOS的7.x版建立到的崩溃

I think, this is also causing my iOS 7.x builds to crash.

推荐答案

发现的问题。这种新的约束加入到iOS 8.0,不与previous版本的支持。

Found the issue. This new constraint was added to iOS 8.0 and isn't supported with previous versions.

要摆脱这样的警告,并允许iOS的7建造工作,你需要:结果
1.单击侧栏中的警告(这应该突出问题的约束)结果
2.更改约束比第一基准线以外的东西。 中心Y工作很适合我。你必须与选项玩,可以看到实时更改,看看哪些另类的作品给你。

To get rid of this warning and allow iOS 7 builds to work you need to:
1. Click on the warning in the side bar (this should highlight the offending constraint)
2. Change that constraint to something other than "First Baseline". "Center Y" worked well for me. You'll have to play with the options and can see the changes live to see which alternative works for you.

的iOS 7现在又建立并警告了。

iOS 7 now builds again and warning is gone.

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

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