0

I have following code, that display SafariView in sheet.

Button(action: {self.showLogin = true}) {
    Text("OpenURL")
}
.sheet(isPresented: self.$showLogin) {
    SFSafariViewWrapper(url: URL(string: "https://google.com")!)
}

How can i get URL, when it changes in SafariView (by user)?

  • Similar question ? https://stackoverflow.com/questions/42192701/detect-url-change-in-sfsafariviewcontroller – RTXGamer Oct 17 '21 at 13:31
  • Does this answer your question? [Detect URL change in SFSafariViewController](https://stackoverflow.com/questions/42192701/detect-url-change-in-sfsafariviewcontroller) – Scott Thompson Oct 17 '21 at 15:38

0 Answers0