UIImageView *imgV = [[UIImageView alloc] initWithFrame:CGRectMake(100,200,100,100];
imgV.image = [[UIImage imageNamed:@"多边形-1"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
imgV.tintColor = [UIColor greenColor];
UIImageView *imgV = [[UIImageView alloc] initWithFrame:CGRectMake(100,200,100,100];
imgV.image = [[UIImage imageNamed:@"多边形-1"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
imgV.tintColor = [UIColor greenColor];
本文标题:UIImage 颜色渲染imageWithRenderingMo
本文链接:https://www.haomeiwen.com/subject/uocirxtx.html
网友评论