How do I convert RGB into HSV in Cocoa Touch? -
I want to set the background color for the label using HSVV instead of RGB. How can I apply it to the code?
Code:
//. File #import "IBAppDelegate.h" @ implementation IBAppDelegate @ synthesize label; {Self.label.backgroundColor = [UIColor colorWithRed: 1.0f green: 0.8f blue: 0.0f alpha: 1.0f]; }
You can use the following feature maker of UIColor
Comments
Post a Comment