码迷,mamicode.com
首页 > 移动开发 > 详细

iOS获取webview高度

时间:2016-11-15 13:52:52      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:val   script   oms   ring   span   intvalue   webview   div   获取   

1 int webHeight = [[webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.scrollHeight"] intValue];

 

iOS获取webview高度

标签:val   script   oms   ring   span   intvalue   webview   div   获取   

原文地址:http://www.cnblogs.com/sun-wsh/p/6065055.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!