Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB16344124: SwiftUI ".keyboardShortcut()" should be available on watchOS #600

Open
sindresorhus opened this issue Jan 17, 2025 · 0 comments

Comments

@sindresorhus
Copy link
Member

  • Date: 2025-01-18
  • Resolution: Open
  • Area: SwiftUI
  • OS: watchOS 11.2
  • Type: Suggestion

Description

When creating multi-platform apps, it requires too many #if-defs when your app uses a lot of keyboard shortcuts. .keyboardShortcut() should be available on watchOS, but just be documented to not do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant