Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

background color in above (bounce part) of UIWebView

I think this shouldn't be a big problem, but I can't find the solution on my own. As always :p I have an UIWebView that has background color set to clearColor but when I try to scroll down too much I get the "bouncing area" above loaded HTML in dark gray color. I would like to change this to transparent/white. Is there any way of changing this?
Digression: I read that classes inheriting UIScrollView can have property bounce = NO and then they won't show the bouncing area at all. Even if UIWebView was inheriting that class I wouldn't like to stop it from bouncing, just "bounce it in white" so to speak...

Thanks a lot,
Luka

like image 953
luigi7up Avatar asked Mar 10 '11 12:03

luigi7up


1 Answers

Take a look at the following answer

Remove gradient background from UIWebView?

like image 128
Ladislav Avatar answered Oct 12 '22 16:10

Ladislav