pub unsafe fn load_html_string(&self, html: &str, base_url: &str) {
        let html = NSString::alloc(nil).init_str(html);
        let base_url = NSString::alloc(nil).init_str(base_url);
        let base_url = NSURL::alloc(nil).initWithString_(base_url);
        self.webview.loadHTMLString_baseURL_(html, base_url);
    }
/// Load an HTML string onto the WebView.
///
/// # Safety
/// All the FFI functions are unsafe.
Load an HTML string onto the WebView.
Load an HTML string onto the WebView .
pub unsafe fn load_html_string(&self, html: &str, base_url: &str) {
        let html = NSString::alloc(nil).init_str(html);
        let base_url = NSString::alloc(nil).init_str(base_url);
        let base_url = NSURL::alloc(nil).initWithString_(base_url);
        self.webview.loadHTMLString_baseURL_(html, base_url);
    }
pub unsafe fn load_html_string ( & self , html : & str , base_url : & str ) { let html = NSString :: alloc ( nil ) . init_str ( html ) ; let base_url = NSString :: alloc ( nil ) . init_str ( base_url ) ; let base_url = NSURL :: alloc ( nil ) . initWithString_ ( base_url ) ; self . webview . loadHTMLString_baseURL_ ( html , base_url ) ; }
Load an HTML string onto the WebView.
Load an HTML string onto the WebView .
&self
html
&str
base_url
&str
&self
html
&str
base_url
&str
safety
All the FFI functions are unsafe.
All the FFI functions are unsafe .