Post

Replies

Boosts

Views

Activity

Reply to UIApplication.canOpenURL not working without Safari
Reproducing the issue is easy. Just copy the code from the initial description in a project and launch it on any iOS 26.2+ device after deleting Safari from it. It is not possible to delete Safari from any simulator. I think this issue has nothing to do with my app universal links. I don't know what disabling the link and checking swctutils file means...
Topic: UI Frameworks SubTopic: UIKit
Feb ’26
Reply to UIApplication.canOpenURL not working without Safari
Hi Albert, Thank you for the reply. I don't think the issue is related to universal links, as I am not trying to redirect to my app/any app specifically. I am trying to open an URL from my app, which should redirect the user to any browser that is installed on the user's device. This is what I would expect UIApplication.shared.open("https://www.apple.com") to do. I added a hotfix, by prefixing the URL with known browsers' universal links, but that is not really scalable and it won't cover all browsers. Example: UIApplication.shared.open("knownAppScheme://www.apple.com") The Notes app opens https://www.apple.com successfully in any other browser even if Safari is not installed on a device using iOS 26.0+.
Topic: UI Frameworks SubTopic: UIKit
Feb ’26
Reply to UIApplication.canOpenURL not working without Safari
Reproducing the issue is easy. Just copy the code from the initial description in a project and launch it on any iOS 26.2+ device after deleting Safari from it. It is not possible to delete Safari from any simulator. I think this issue has nothing to do with my app universal links. I don't know what disabling the link and checking swctutils file means...
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Feb ’26
Reply to UIApplication.canOpenURL not working without Safari
Hi Albert, Thank you for the reply. I don't think the issue is related to universal links, as I am not trying to redirect to my app/any app specifically. I am trying to open an URL from my app, which should redirect the user to any browser that is installed on the user's device. This is what I would expect UIApplication.shared.open("https://www.apple.com") to do. I added a hotfix, by prefixing the URL with known browsers' universal links, but that is not really scalable and it won't cover all browsers. Example: UIApplication.shared.open("knownAppScheme://www.apple.com") The Notes app opens https://www.apple.com successfully in any other browser even if Safari is not installed on a device using iOS 26.0+.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Feb ’26