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;
背景颜色设置
时间: 2024-11-04 19:18:10