What is RGB and alpha for transparent color? I want to make it programmatic, do not need [UIColor clearColor] ... ??
According to Documentation :
"Returns a color object, grayscale and alpha values are 0.0.
To represent a transparent color in rgb format, you can use
'rgba(0,0,0,0)'
It just includes an alpha value.
Create a color object, grayscale and alpha values are 0.0
UIColor *clearColor = [UIColor colorWithWhite:0.0/255 alpha:0.0];
Just use:
[UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.0];