Home > Web Front-end > HTML Tutorial > webView加载HTML字符串计算动态高度_html/css_WEB-ITnose

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-21 08:55:05
Original
1044 people have browsed it

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


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template