有没有办法摆脱UIWebView的边界?现在,即使我将背景设置为白色,当滚动到页面之外时,我也会看到一个边框。
发布于 2012-11-07 11:58:28
你不能移除灰色区域,你可以禁用滚动,这似乎是最好的方法。
我们目前在UIWebView上设置了透明背景
webview.opaque = NO;
webview.backgroundColor = [UIColor clearColor];在HTML中
<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0style="background-color:transparent">https://stackoverflow.com/questions/13261242
复制相似问题