コード例 #1
0
        public void LoadResource()
        {
            Settings.JavaScriptEnabled = true;
            Settings.AllowUniversalAccessFromFileURLs = true;
            Settings.AllowFileAccessFromFileURLs      = true;
            Settings.AllowFileAccess   = true;
            Settings.DomStorageEnabled = true;

            string htmlResource = _richTextEditor.LoadResources();

            LoadDataWithBaseURL("https://www.google.com", htmlResource, "text/html", "UTF-8", "");
        }
コード例 #2
0
        public void LoadResource()
        {
            var htmlResource = _richTextEditor.LoadResources();

            _webView.LoadHtmlString(htmlResource, new NSUrl("http://www.zedsaid.com"));
        }