Initializes a URL object with a C string representing a local file system path.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
A null-terminated C string in file system representation containing the path to represent as a URL. If this path is a relative path, it is treated as being relative to the current working directory.
The base URL for the new URL object. This must be a file URL. If
pathis absolute, this URL is ignored.
Returns the initialized object.
The file system representation format is described in File Encodings and Fonts.