- (void)webViewDidFinishLoad:(UIWebView *)webView
{
//获取当前页面的title
self.title = [webView stringByEvaluatingJavaScriptFromString:@"document.title"];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
//获取当前页面的title
self.title = [webView stringByEvaluatingJavaScriptFromString:@"document.title"];
}
本文标题:iOS webView设置标题
本文链接:https://www.haomeiwen.com/subject/diplxxtx.html
网友评论