UIApplication.canOpenURL not working without Safari

If I delete Safari and only have another browser installed on my device, UIApplication.shared.open does not work. I think this is a bug. Why would it not work?

If Safari is not the main browser, UIApplication would open the URL in my main browser.

Those are valid use cases.

I would expect this API to work with any browser...

iOS 26.2 iPhone 14 Pro

guard let url = URL(string: "https://www.apple.com") else {
      return
}

if UIApplication.shared.canOpenURL(url) {
      UIApplication.shared.open(url)
} else {
      print("Could not open URL")
}

... and yes apparently you can completely delete Safari from iOS 26.0. Is this a bug as well, I don't know. What I know is that some of my users are blocked in my app because of this.

UIApplication.canOpenURL not working without Safari
 
 
Q