Skip to content

Commit c680c38

Browse files
committed
chore: begin work on parsing url schemes
1 parent a914db5 commit c680c38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

SideBackup/ContentView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ struct ContentView: View {
7878
print(URL.groupContainers)
7979
}
8080
.onOpenURL { url in
81+
guard let components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { return }
8182
print(url)
83+
print(components.queryItems ?? [])
8284
}
8385
}
8486
}

0 commit comments

Comments
 (0)