Instance Method

loadFileURL:allowingReadAccessToURL:

Navigates to the requested file URL on the filesystem

Declaration

- (WKNavigation *)loadFileURL:(NSURL *)URL allowingReadAccessToURL:(NSURL *)readAccessURL;

Parameters

URL

The file URL to navigate to.

readAccessURL

The URL to allow read access to.

Return Value

A new navigation for the given file URL.

Discussion

If readAccessURL references a single file, only that file may be loaded by WebKit. If readAccessURL references a directory, files inside that file may be loaded by WebKit.

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.

- loadData:MIMEType:characterEncodingName:baseURL:

Sets the webpage contents and base URL.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software