removeUbiquitousContentAndPersistentStore(at:options:)
Deletes all ubiquitous content for all peers for the persistent store at a given URL and also delete the local store file.
Declaration
class func removeUbiquitousContentAndPersistentStore(at storeURL: URL, options: [AnyHashable : Any]? = nil) throwsParameters
- storeURL:
The URL of the store to delete.
- options:
A dictionary containing the options normally passed to Addpersistentstore(oftype:configurationname:at:options:).
Discussion
Errors may be returned as a result of file I/O, iCloud network or iCloud account issues.