UIImage *img = [img imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
UIImageView *imgView = [[UIImageView alloc] initWithImage:img];
imgView.tintColor = [UIColor......];
解决UIImageView的tintColor无效的问题
最新推荐文章于 2021-04-01 09:10:17 发布
UIImage *img = [img imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
UIImageView *imgView = [[UIImageView alloc] initWithImage:img];
imgView.tintColor = [UIColor......];