Instance Method

saveToURL:error:

Saves the web history to the specified file.

Declaration

- (BOOL)saveToURL:(NSURL *)URL error:(NSError **)error;

Parameters

URL

The URL of the file to contain the web history information. The file must be user-writable, but its format is private and should not be edited directly.

error

On output, nil if the load was successful; otherwise, error, which contains details of the failure.

Return Value

YES if successful; otherwise, NO

Discussion

When successful, this method posts a notification (WebHistorySavedNotification).

See Also

Loading and Saving History Information

- loadFromURL:error:

Loads the contents of the specified web history file.

Deprecated