"UIColor
" isn't always based on RGBA values.
There are different color spaces that UIColor works with, such as CMYK colors and, in the case of white color, you can get a white color via [UIColor colorWithWhite:alpha:]
.
I suspect [UIColor whiteColor]
in your case is going to equal [UIColor colorWithWhite:1.0 alpha:1.0]
.