mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
refactor(ios-webview): remove useless js evaluation (#5584)
This commit is contained in:

committed by
Manol Donev

parent
81a2cbd0fe
commit
1931669f79
@ -56,9 +56,6 @@ class WKNavigationDelegateImpl extends NSObject
|
||||
}
|
||||
const owner = this._owner.get();
|
||||
if (owner) {
|
||||
webView.evaluateJavaScriptCompletionHandler("document.body.height",(val,err)=>{
|
||||
console.log(val);
|
||||
});
|
||||
let src = owner.src;
|
||||
if (webView.URL) {
|
||||
src = webView.URL.absoluteString;
|
||||
|
Reference in New Issue
Block a user