We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8009261 commit ce30e9bCopy full SHA for ce30e9b
platform/swift/source/shared/extensions/URL+Extensions.swift
@@ -23,7 +23,8 @@ extension URL {
23
///
24
/// - returns: The path component of the URL.
25
func normalizedPath() -> String? {
26
- return if #available(iOS 16.0, *) {
+ return if #available(iOS 17.0, *) {
27
+ // The method was introduced in iOS 16.0, but we observed it crashing on iOS 16 (up to 16.7.x).
28
self.path(percentEncoded: false)
29
} else {
30
self.relativePath
0 commit comments