当前位置: 动力学知识库 > 问答 > 编程问答 >

objective c - Tint Color set on Interface Builder generates warning

问题描述:

I have a segmented control with 2 segments in XIB file. When I set the Tint property to Black it gives me a warning message : "Attribute Unavailable : Tint colors set in Interface builder on iOS version prior to 3.0".


I had set the tint color because I need a black segmented control. How Can I remove this warning. I Only want to run my project on iOS version prior to 5.0. Please help.

网友答案:

You can set warning for Interface Builder by searching for "Interface Builder" form Build Settings under your Targets:

In Interface Builder, set Document Versioning Deployment:

分享给朋友:
您可能感兴趣的文章:
随机阅读: