fix
This commit is contained in:
parent
63f43d4b3b
commit
f67b8a644d
@ -142,7 +142,7 @@ extension WebView : WKUIDelegate {
|
|||||||
guard let self = self else {
|
guard let self = self else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let scrollHeight = self.webView?.scrollView.contentSize.height ?? 44.0
|
let scrollHeight = webView.scrollView.contentSize.height
|
||||||
if let height = result as? CGFloat,
|
if let height = result as? CGFloat,
|
||||||
height < scrollHeight {
|
height < scrollHeight {
|
||||||
self.webViewHeight?.constant = height
|
self.webViewHeight?.constant = height
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user