Instance Method

loadData:MIMEType:characterEncodingName:baseURL:

Sets the webpage contents and base URL.

Declaration

- (WKNavigation *)loadData:(NSData *)data MIMEType:(NSString *)MIMEType characterEncodingName:(NSString *)characterEncodingName baseURL:(NSURL *)baseURL;

Parameters

data

The data to use as the contents of the webpage.

MIMEType

The MIME type of the data.

characterEncodingName

The data's character encoding name.

baseURL

A URL used to resolve relative URLs within the document.

Return Value

A new navigation.

See Also

Loading Content

estimatedProgress

An estimate of what fraction of the current navigation has been loaded.

hasOnlySecureContent

A Boolean value indicating whether all resources on the page have been loaded through securely encrypted connections.

- loadHTMLString:baseURL:

Sets the webpage contents and base URL.

loading

A Boolean value indicating whether the view is currently loading content.

- reload

Reloads the current page.

- reload:

Reloads the current page.

- reloadFromOrigin

Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible.

- reloadFromOrigin:

Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible.

- stopLoading

Stops loading all resources on the current page.

- stopLoading:

Stops loading all resources on the current page.

- loadFileURL:allowingReadAccessToURL:

Navigates to the requested file URL on the filesystem