摘要: CGColorSpaceRef rgb = CGColorSpaceCreateDeviceRGB();const CGFloat myColor[] = {0.90625, 0.80, 0.80, 1.0};//CGColorCreate(rgb, myColor) to return a CGColorRef.label.backgroundColor = [[UIColor alloc] initWithCGColor:CGColorCreate(rgb, myColor)];label.textColor = [[UIColor alloc] initWithRed:0.33 gree 阅读全文
posted @ 2011-04-27 14:10 zaric 阅读(297) 评论(0) 推荐(0) 编辑