Commit e134eb4d authored by David黄金龙's avatar David黄金龙

处理资讯详情 的title

parent 7fcf0883
......@@ -172,6 +172,12 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
} else {
bottomViewForSavePic.isHidden = true
}
if id > 0 {
//资讯详情 不展示title
gk_navTitle = ""
}
getData()
}
......@@ -200,11 +206,9 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
// MARK: - WKNavigationDelegate
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
if vcTitle == nil {
gk_navTitle = webview.title
}
// if vcTitle == nil {
// gk_navTitle = webview.title
// }
}
// MARK: - WKUIDelegate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment