Writes the contents of the array to the location specified by a given URL.
- iOS 2.0–11.0Deprecated
- macOS 10.0–10.13Deprecated
- tvOS 9.0–11.0Deprecated
- watchOS 2.0–4.0Deprecated
The location at which to write the array.
true, the array is written to an auxiliary location, and then the auxiliary location is renamed to
false, the array is written directly to
trueoption guarantees that
a, if it exists at all, won’t be corrupted even if the system should crash during writing.
true if the location is written successfully, otherwise