Initializer
init(fileURLWithFileSystemRepresentation:isDirectory:relativeTo:)
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
Initializes a newly created URL referencing the local file or directory at the file system representation of the path.
init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory: Bool, relativeTo base: URL?)
Discussion
File system representation is a null-terminated C string with canonical UTF-8 encoding.