Returns a new URL object initialized with a C string representing a local file system path.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- 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.
YESif the last path part is a directory, otherwise
The base URL for the new URL object. This must be a file URL. If
pathis absolute, this URL is ignored.
Returns the new object.
The file system representation format is described in File System Programming Guide.