Creates a new
CFURL object by resolving the relative portion of a URL, specified as bytes, against its given base URL.
- iOS 2.0+
- macOS 10.3+
- 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 that represent a relative URL to convert into a
The number of bytes in
The string encoding of the
relativestring. This encoding is also used to interpret percent escape sequences.
The URL to which
true, the rules historically used on the web are used to resolve the string specified by the
base. These rules are generally listed in the RFC as optional or alternate interpretations. Otherwise, the strict rules from the RFC are used.
CFURL object, or
relative cannot be made absolute. Ownership follows the create rule. See The Create Rule.
This function interprets the provided bytes using the specified string encoding to create the relative portion of the URL’s address.