UIImage *image = [UIImage imageNamed:@"icon.png"];
image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, [[UIScreen mainScreen] bounds].size.width, [[UIScreen mainScreen] bounds].size.height)];
imageView.tintColor = [UIColor redColor];
//只需要设置下面的属性即可
网友评论