Thursday, August 23, 2012

Setting a UIColor with the RGB


// R: 128 G: 90 B: 200
UIColor *myColor = [UIColor colorWithRed:(128.0 / 255.0) green:(90.0 / 255.0) blue:(200.0 / 255.0) alpha: 1];

No comments:

Post a Comment