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

            string htmlResource = _richTextEditor.LoadResources();

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

            _webView.LoadHtmlString(htmlResource, new Foundation.NSUrl("www.xam-consulting.com"));
        }
コード例 #3
0
        public void LoadResource()
        {
            string htmlResource = _richTextEditor.LoadResources();

            _webView.LoadHtmlString(htmlResource, new NSUrl(string.Empty));
        }