Returns a data object initialized with the data from the location specified by a given URL.
- iOS 2.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
The URL from which to read data.
A mask that specifies options for reading the data. Constant components are described in
If there is an error reading in the data, upon return contains an
NSErrorobject that describes the problem.
A data object initialized with the data from the location specified by
aURL. The returned object might be different than the original receiver.