在iphone中,除了系统的颜色之外,我们还可以自定义颜色,下面有两种方式:
UIColor *newColor = [[UIColor alloc] initWithRed:(float) green:(float) blue:(float) alpha:(float)];
//alpha: 0.0~1.0
UIColor *tiniColor = [UIColor colorWithRed:255/255.0 green:175/255.0 blue:64/255.0 alpha:1.0];
THE END !
2011-07-08