Commit afe045d6 authored by Alex朱枝文's avatar Alex朱枝文

解决隐藏导航栏bug

parent ac1b7ec7
......@@ -666,6 +666,17 @@ extension YHH5WebViewVC {
// supportFullScreenSyn("1")
}
gk_navigationBar.isHidden = isHideNavigationBar
if isHideNavigationBar {
webview.snp.remakeConstraints { make in
make.edges.equalToSuperview()
}
} else {
webview.snp.remakeConstraints { make in
make.top.equalToSuperview().offset(k_Height_NavigationtBarAndStatuBar)
make.left.right.bottom.equalToSuperview()
}
}
}
//是否支持通屏
......
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