IOS 颜色的宏定义

#define RGB(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
 
self.view.backgroundColor = RGB(1,159,239,1);
posted @ 2017-03-22 14:59  Dingzhijie  阅读(790)  评论(0)    收藏  举报