const CGFloat *color = CGColorGetComponents([[UIColor whiteColor] CGColor]); CGContextSetFillColor(context, color);
I have a black background. When working on this code, Iām not sure that most colors, such as redColor, purpleColor, greenColor, yellowColor, do not work correctly
but whiteColor, grayColor is not working. when i use the whiteColor screen looks blank.
source share