1、使用UIColor的时候,使用到
[item setBackgroundColor:[UIColor colorWithRed:204 green:242 blue:233 alpha:1]];
[item setBackgroundColor:[UIColor colorWithRed:204/255.0 green:242/255.0 blue:233/255.0 alpha:1]];
item.layer.masksToBounds = YES; item.layer.cornerRadius = (width + 10) / 4;
新闻热点
疑难解答