Guest User

Untitled

a guest
Jan 20th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. CGFloat height = [[webView stringByEvaluatingJavaScriptFromString:@"document.body.offsetHeight;"] floatValue];
  2. CGFloat width = [[webView stringByEvaluatingJavaScriptFromString:@"document.width"] floatValue];
  3.  
  4. [webview stringByEvaluatingJavaScriptFromString:@"window.scrollBy(0,450);"];
Add Comment
Please, Sign In to add comment