首页 >web前端 >html教程 >webView加载HTML字符串计算动态高度_html/css_WEB-ITnose

webView加载HTML字符串计算动态高度_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-21 08:55:051044浏览

- (void)webViewDidFinishLoad:(UIWebView *)webView { //webview 自适应高度    CGRect frame = webView.frame;    CGSize fittingSize = [webView sizeThatFits:CGSizeZero];    frame.size = fittingSize;    webView.frame = frame;     //tableView reloadData}


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn