#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]
本文标题:UIColor使用16进制颜色
本文链接:https://www.haomeiwen.com/subject/pttqwttx.html
网友评论