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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-21 08:55:051064browse

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


Statement:
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