Saturday, 15 February 2014

ios - how add inside a scrollView webView and buttons in swift -


How is a scrollView included inside the webview and buttons? I tried to do this, it changes the size of the webview, but does not scroll

  output = webView.stringByEvaluatingJavaScriptFromString ("document.body.offsetHeight;") Skip content = output? .toInt () conHeight: CGFloat = CGFloat (contentHyight!) Var frame = self.webView.frame frame.size = CGSizeMake (self.webView.frame.size.width, conHeight) self.webView.frame = frame  


No comments:

Post a Comment