colorwithred专题

解决[UIColor colorWithRed: green: blue: alpha:] 没有效果的问题

在设置颜色时用[UIColor colorWithRed: green: blue: alpha:] , 代码写好后,运行起来可能没有任何效果,比如: self.backgroundColor = [UIColor colorWithRed:85.0 green:198.0 blue:240.0 alpha:1.0]; 但是直接使用系统提供的颜色,又能正常显示: self