Interface Builder background color => clear color?
I've setup some background colors for my Labels in order to position them. Now that they are well in place, I would like开发者_如何学Python to reset their background color to none, or clearColor.
But I don't find any way to achieve this in IB, I don't find any "no color" color...
Is there any way to do this without re-coding color at runtime?
Set Opecity = 0 in Background option in IB
If you are working in xcode 4
- Select your label whose color you want to clear
- In the Attributes Inspector in Inspector Window select the "clear color" option in the "Background" drop down menu. The same menu used to set the color of the labels.
Can you give an alpha value? Try making it transparent :)
精彩评论