UIImageView *imgV = [[UIImageView alloc] initWithFrame:CGRectMake(100,200,100,100];
imgV.image = [[UIImage imageNamed:@"多边形-1"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
imgV.tintColor = [UIColor greenColor];
UIImage 颜色渲染imageWithRenderingMode
最新推荐文章于 2020-10-20 10:59:12 发布