Skip to content

FB9745173: [WidgetKit] Widgets should be allowed to open external URLs directly #240

@sindresorhus

Description

@sindresorhus
  • Date: 2021-11-08
  • Resolution: Open
  • Area: SwiftUI Framework
  • OS: iOS 15.1
  • Type: Suggestion

Description

Currently, you have to use a custom URL scheme with .widgetURL() to the main app which then opens the external URL. This is slow as the app as to fully open before redirecting to Safari. Seeing as it’s already possible to open external URLs (external URLs being, for example, https://apple.com), it would be nice if widgets could just open them directly, saving the user valuable time. Widgets opening URL has become quite a common thing to do. Users now use widgets as a trigger to run shortcuts, as a bookmark, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions