简体   繁体   English

警告:属性不可用

[英]Warning:Attribute Unavailable

Does anyone know, how to remove this warning from Xcode 4.3 and above Attributed Title on iOS versions prior to 6.0 有谁知道,如何从6.0之前的iOS版本上的 Xcode 4.3及以上归属标题中删除此警告

在此输入图像描述

Edited: If I set the deployment target as 6.0 then I don't see this warning. 编辑:如果我将部署目标设置为6.0,那么我没有看到此警告。

give proper reason before down voting.Is this not a valid question 在投票前给出正当理由。这不是一个有效的问题

Well, if your Deployment Target is set to an iOS version lower than 6.0 you won't get rid of this warning. 好吧,如果您的部署目标设置为低于6.0的iOS版本,您将无法摆脱此警告。 Either you don't use this attribute, or you switch the deployment traget to iOS 6.0. 要么您不使用此属性,要么将部署traget切换到iOS 6.0。

Click on your xib file. 单击您的xib文件。 On the properties you will see the following section: 在属性上,您将看到以下部分:

在此输入图像描述

Where it says "Development" change that to Interface Builder 6.0 and you should no longer receive those warnings. 如果它说“开发”将其更改为Interface Builder 6.0,您就不应再收到这些警告。

Follow this link for more info Ignore "Attribute Unavailable"-Warning in Xcode4 点击此链接获取更多信息忽略“属性不可用” - 在Xcode4中进行警告

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM