Creates a new
CFURL object for a file system entity using the native representation.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator to use to allocate memory for the new
kto use the current default allocator.
The character bytes to convert into a
CFURLobject. This should be the path as you would use in POSIX function calls.
The number of character bytes in the buffer (usually the result of a call to
strlen), not including any null termination.
A Boolean value that specifies whether the string is treated as a directory path when resolving against relative path components—
trueif the pathname indicates a directory,
CFURL object. Ownership follows the create rule. See The Create Rule.