开发者

Change color of image

IS it possible to change color of image fr开发者_运维百科om code ?


Answer from Change RGB color of the picture - Notes of a Developer


What do u mean by change color of image? u can change the UIImageView's image in code by using imageView.image = [UIImage imageNamed:@"myImage.png"]; where the myImage.png is in ur project's Resource folder. Or u can use [imageView setBackgroundColor:[UIColor redColor]]; to set ur UIImageView to red color.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜