Disable WkWebView Zooming

ios

#1

How to disable zooming in WkWebView ? Before for UIWebView i was using following code in (loaded) event but now it doens’t work in wkwebview:
args.ios.scrollView.bounces = false;

I tried this code (from here) as well but nothing is working. I can’t get that console.log to be working:

export class ItemsComponent implements OnInit {
    _wkWebViewUIScrollViewDelegate;
    constructor() { 
        this._wkWebViewUIScrollViewDelegate = new WkWebViewUIScrollViewDelegate();
    }

    onWebViewLoaded(webview: WebView) {ebview.ios) {
            const wkwebview: WKWebView = webview.ios;
            wkwebview.scrollView.delegate = this._wkWebViewUIScrollViewDelegate; 
        }
}

export class WkWebViewUIScrollViewDelegate extends NSObject implements UIScrollViewDelegate {
    public static ObjCProtocols = [UIScrollViewDelegate];
    
    static new(): WkWebViewUIScrollViewDelegate {
        return <WkWebViewUIScrollViewDelegate>super.new();
    }
    viewForZoomingInScrollView(scrollView: UIScrollView) {
        console.log('called');
        return null;
    }
}