3

I've setup some background colors for my Labels in order to position them. Now that they are well in place, I would like 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?

pkamb
  • 33,281
  • 23
  • 160
  • 191
jchatard
  • 1,881
  • 2
  • 20
  • 25

3 Answers3

4

Set Opecity = 0 in Background option in IB

Reena
  • 845
  • 6
  • 8
1

If you are working in xcode 4

  1. Select your label whose color you want to clear
  2. 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.
maven25
  • 231
  • 2
  • 12
0

Can you give an alpha value? Try making it transparent :)

ZeissS
  • 11,867
  • 4
  • 35
  • 50