Returns any additional resource specifiers after the path.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
Parameters
anURL
The
CFURL
object to examine.
Return Value
The resource specifiers. Ownership follows the create rule. See The Create Rule.
Discussion
This function leaves any percent escape sequences intact. For decomposable URLs, this function returns everything after the path. For URLs that cannot be decomposed, this function returns everything except the scheme itself.