stleamist / BetterSafariView

A better way to present a SFSafariViewController or start a ASWebAuthenticationSession in SwiftUI.
MIT License
581 stars 57 forks source link

Not working on iOS18, not opening the webpage #53

Open Hext123 opened 1 month ago

Hext123 commented 1 month ago

Not working on iOS18, Normal on systems with lower versions

@State private var showUrl: URL?

Button("button") {
    showUrl = URL(string: "https://github.com/")
}
.safariView(item: $showUrl, content: { url in
    SafariView(url: url)
})