Commit 0c7fed3b authored by David黄金龙's avatar David黄金龙

H5 添加状态栏高度

parent d192f646
......@@ -303,6 +303,13 @@ private extension YHH5WebViewVC {
tUrl = url + "&navigationH=\(k_Height_NavigationtBarAndStatuBar)"
}
}
if !url.contains("statusBarH=") {
tUrl = url + "?statusBarH=\(k_Height_StatusBar)"
if url.contains("?") {
tUrl = url + "&statusBarH=\(k_Height_StatusBar)"
}
}
url = tUrl
printLog("hjl: 当前加载的url是:\(url)")
......
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