예제 #1
0
 private void Initialize()
 {
     _webView = new WKWebView(Frame, new WKWebViewConfiguration())
     {
         NavigationDelegate = new CrispWKNavigationDelegate(),
         UIDelegate         = new CrispWKUIDelegate(),
     };
     AddSubview(_webView);
     _webView.SetVerticalMargins(this);
     _webView.SetHorizontalMargins(this);
     Load();
     _webView.ScrollView.ScrollEnabled = false;
 }