コード例 #1
0
        public void PrepareView()
        {
            var hybrid = new HybridWebViewEngine();

            hybrid.Start();

            WebView.LoadDataWithBaseURL("file://" + hybrid.GetBaseUrl(), hybrid.GetHTMLString(), "text/html", "utf-8", null);
        }
コード例 #2
0
        public void PrepareView()
        {
            var hybrid = new HybridWebViewEngine();

            hybrid.Start();
            var baseUrl = new NSUrl(hybrid.GetBaseUrl());

            WebView.LoadHtmlString(hybrid.GetHTMLString(), baseUrl);
        }