Open URL, Web or Safari link
JamesSedlacek opened this issue · comments
James Sedlacek commented
Add the ability to write router functions like this:
// Safari support. Should open URL in Safari application.
router.open(.safari, urlString: "https://github.com/JamesSedlacek/Routing")
// In App Web Browser support. Should open URL in an in-app browser
// (probably need to add a SFSafariViewControllerRepresentable).
// Need to be able to dismiss this.
router.open(.inAppBrowser, urlString: "https://github.com/JamesSedlacek/Routing")
// URL Schema Support. Should open the URL directly via UIApplication.shared.open(url) or similar.
router.open(.urlSchema, urlString: "https://github.com/JamesSedlacek/Routing")