i'm in trouble. i'm currently using a uiwebview to display content. but i want to show content without scrolling in uiwebview.
Below the code. look it
func webViewDidFinishLoad(webView: UIWebView!) {
var newBounds: CGRect = webView.bounds
newBounds.size.height = webView.scrollView.contentSize.height
webView.bounds = newBounds
}
but it won't be change its size. Anyone know what should i do ?
Thanks in advance.