首页 > 代码库 > 背景颜色设置

背景颜色设置

CGFloat R = (CGFloat) 242/255.0;
CGFloat G = (CGFloat) 242/255.0;
CGFloat B = (CGFloat) 242/255.0;
CGFloat alpha = (CGFloat) 1.0;

UIColor *myColorRGB = [UIColor colorWithRed: R green: G blue: B alpha: alpha ];
heighView.backgroundColor = myColorRGB;