Hello there,
I love using the app on my Mac, but one thing that I find bothersome is how links open in the browser. I know Catalyst supports SFSafariViewController, but it first shows an extra dialog that doesn’t serve any purpose.
I believe it would be more convient to open the URL on UIApplication directly, like this:
#if targetEnvironment(macCatalyst)
UIApplication.shared.open(url)
#else
let viewController = SFSafariViewController(url: url)
present(viewController, animated: true, completion: nil)
#endif
I’m happy to open a pull request if you agree with this change.
Thanks!