Instance Method

loadHTMLString:baseURL:

Sets the main page content and base URL.

Declaration

- (void)loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL;

Parameters

string

The content for the main page.

baseURL

The base URL for the content.

Discussion

To help you avoid being vulnerable to security attacks, be sure to use this method to load local HTML files; don’t use loadRequest:.

See Also

Loading Content

- loadData:MIMEType:textEncodingName:baseURL:

Sets the main page contents, MIME type, content encoding, and base URL.

Deprecated
- loadRequest:

Connects to a given URL by initiating an asynchronous client request.

Deprecated
request

The URL request identifying the location of the content to load.

Deprecated
loading

A Boolean value indicating whether the receiver is done loading content.

Deprecated
- stopLoading

Stops the loading of any web content managed by the receiver.

Deprecated
- reload

Reloads the current page.

Deprecated