Instance Method

loadData:MIMEType:textEncodingName:baseURL:

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

Declaration

- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)URL;

Parameters

data

The data to use for the main page of the document.

MIMEType

The MIME type of the data.

encodingName

The IANA encoding name (for example, “utf-8” or “utf-16”).

URL

A file that is used to resolve relative URLs within the document.

See Also

Loading Content

- loadRequest:

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

Deprecated
- reload

Reloads the initial request passed as an argument to loadRequest:.

Deprecated
- reloadFromOrigin

Performs an end-to-end revalidation using cache-validating conditionals if possible.

Deprecated
- stopLoading

Stops any pending loads on the receiver’s data source, and those of its children.

Deprecated
- loadAlternateHTMLString:baseURL:forUnreachableURL:

Loads alternate content for a frame whose URL is unreachable.

Deprecated
- loadHTMLString:baseURL:

Sets the main page contents and base URL.

Deprecated
- loadArchive:

Loads an archive into the web frame.

Deprecated