开发者

iPhone UITableViewCell with UIWebView inside: selection problem

I have an UITableView and in every cell I add 3 custom subviews: label, webview and another label. The problem I am having is that when I tap a cell, instead of all the cell's background changing to blue, it only changes around the webview, but the webview still has a white background. it's 开发者_如何学Govery ugly. Is the any way of fixing this?

Thank you


[theWebView setBackgroundColor:[UIColor clearColor]];
[theWebView setOpaque:NO];

Sorry, I answered my own question. In fact, a friend helped me with that one. Pasting it here in case anyone else needs it.

Cheers

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜