Forum Xamarin.iOS

WKWebView Custom Renderer

I'm trying to create a WKWebView Custom Renderer to add Headers to the Request.

[assembly: ExportRenderer(typeof(WebView), typeof(CustomWebViewRenderer))]
namespace WebViewRenderer.iOS.Renderers
    public class CustomWebViewRenderer : ViewRenderer<WebView, WKWebView>

After this, the WKWebView already stops working. It only shows a blank page.

Is this working for anybody?

Sign In or Register to comment.