Exemplo n.º 1
0
        public static void UpdateSource(this WKWebView platformWebView, IWebView webView, IWebViewDelegate?webViewDelegate)
        {
            if (webViewDelegate != null)
            {
                webView.Source?.Load(webViewDelegate);

                platformWebView.UpdateCanGoBackForward(webView);
            }
        }
Exemplo n.º 2
0
        public static void UpdateGoForward(this WKWebView platformWebView, IWebView webView)
        {
            if (platformWebView == null)
            {
                return;
            }

            if (platformWebView.CanGoForward)
            {
                platformWebView.GoForward();
            }

            platformWebView.UpdateCanGoBackForward(webView);
        }