开发者

how to change the UIWebView background

How to change the default gray backgr开发者_运维知识库ound color of UIWebView to an image?


This is how you can set the background image:

 self.webView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageWithContentsOfFile:imagePath]];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜