I am designing a widget extension with the new WidgetKit
framework for iOS 14.
When a user taps on a specific view in the widget, I want to open an external URL, such as tel://12345
.
I already tried to use the Link(destination:label:)
view and the widgetURL(_:)
method, but both just open the main app. This behaviour is the same for all widget sizes (small, medium and large).
I know that in iOS 13 and before, you could open a URL that doesn't belong to your app from a widget extension. Was this capability removed in iOS 14 for whatever reasons? Or didn't I try the right way to do it?