UIColor使用16进制颜色
2017-02-15 本文已影响0人
ray_1942
#define UIColorFromHex(s) [UIColor colorWithRed:(((s &0xFF0000) >>16))/255.0green:(((s &0xFF00) >>8))/255.0blue:((s &0xFF))/255.0alpha:1.0]
#define UIColorFromHex(s) [UIColor colorWithRed:(((s &0xFF0000) >>16))/255.0green:(((s &0xFF00) >>8))/255.0blue:((s &0xFF))/255.0alpha:1.0]