上一页 1 ··· 3 4 5 6 7
#define UIColorFromRGBA(rgbValue, alphaValue) \[UIColor \ colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \ green:((float)((rgbValue & 0x00FF00) >> 8))/255.0 \ blue:((float)(rgbValue & 0x0000FF))/255.0 \ alpha:alphaValue]使用:X.backgroundColor = [UIColorFromRGBA(0x000 Read More
posted @ 2013-01-05 11:19 燕羽天空 Views(243) Comments(0) Diggs(0) Edit
上一页 1 ··· 3 4 5 6 7