0
有沒有辦法擺脫UIWebView的邊界?現在,即使將背景設置爲白色,在頁面外滾動時也會看到邊框。無縫的UIWebview背景
有沒有辦法擺脫UIWebView的邊界?現在,即使將背景設置爲白色,在頁面外滾動時也會看到邊框。無縫的UIWebview背景
你不能刪除灰色區域,你可以禁用滾動這似乎是最好的方式。
目前,我們已經透明背景上的UIWebView
webview.opaque = NO;
webview.backgroundColor = [UIColor clearColor];
設置在HTML
<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0style="background-color:transparent">
可能重複:http://stackoverflow.com/questions/8480571/removing-shadows-from-uiwebview – Shaddix