CFURL object from a native character string path relative to a base URL.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- 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 bytes in the buffer.
A Boolean value that specifies whether the string is treated as a directory path when resolving against relative path components. Pass
trueif the pathname indicates a directory,
The URL against which to resolve the path.
CFURL object. Ownership follows the create rule. See The Create Rule.
This function takes a path name in the form of a native character string, resolves it against a base URL, and returns a new
CFURL object containing the result.