Black line appearing at bottom of UIWebView. How to remove?
I had same issue and solution is given below :
- Set
UIWebView's
opaque
toNO
- Set
UIWebView's
backgroundcolor
toclear
color
.
Note : Both things provided above are necessary.
Other solutions while using above one
webView.scrollView.backgroundColor = UIColor.whiteColor()
OR
The meta to go in the head tag of HTML
<meta name="viewport" content="initial-scale=1, maximum-scale=1">