改变imageView图片的颜色

_imgLine = [[UIImageView alloc] init];

_imgLine.image = [[UIImage imageNamed:@"QRCodeScanLine"]imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];

 _imgLine.tintColor = RGB(55, 136, 237);

猜你喜欢

转载自blog.csdn.net/howlong12345/article/details/64923684