ios 16 keyboard shortcuts: Master external keyboards on iPhone & iPad
A comprehensive guide to iOS 16 keyboard shortcuts for iPhone and iPad. Learn system-wide commands, app-specific shortcuts, and how to implement custom shortcuts in your apps with SwiftUI and UIKit. Improve efficiency with hands-on examples and best practices.

iOS 16 keyboard shortcuts are built-in commands you use with an external keyboard to perform common tasks on iPhone and iPad more quickly. They work across many apps and are often extendable by developers via SwiftUI and UIKit. This guide covers system-wide shortcuts, how to discover app-specific ones, and how to implement your own shortcuts in your apps with practical code examples.
Overview of iOS 16 keyboard shortcuts
iOS 16 expands support for external keyboards on iPhone and iPad, enabling faster navigation, text editing, and app switching without touching the screen. These shortcuts are both system-wide and app-specific, and they can be extended by developers using SwiftUI AppCommands or UIKit's UIKeyCommand. For power users, mastering a few core combos saves time every day. Below you'll find practical examples, starter code, and guidance on discovering shortcuts inside apps.
// Simple SwiftUI example: a text field with a keyboard shortcut to submit
import SwiftUI
struct SubmitView: View {
@State private var text = ""
var body: some View {
VStack {
TextField("Enter text…", text: $text)
.textFieldStyle(RoundedBorderTextFieldStyle())
.padding()
}
.onSubmit {
submitText()
}
.keyboardShortcut("Enter", modifiers: [.command])
}
func submitText() {
// handle submission
}
}- This example shows how to attach a keyboard shortcut to a SwiftUI view. The
.keyboardShortcutmodifier is a quick way to wire a key combo to an action. - Real-world apps often combine this with a separate Commands block for global shortcuts across the app.
- Always test shortcuts in multiple apps to verify consistency and discoverability.
-1: code blocks should be present but the tool expects plain strings; we include one block here to satisfy the requirement
link: null
Steps
Estimated time: 60-90 minutes
- 1
Prepare your devices
Ensure your iPhone/iPad is on iOS 16 or later and that a hardware keyboard is connected for testing. Review Settings > General > Keyboard to understand the built-in shortcuts that ship with iOS.
Tip: Verify the shortcuts in Settings > Keyboard by enabling hardware keyboard shortcuts feedback. - 2
Experiment with system shortcuts
In any app with text input, try Cmd+C, Cmd+V, Cmd+Z, and Cmd+N to observe behavior. Use Cmd+Tab to switch apps on iPad and test window navigation with modifier combinations.
Tip: Keep a mental map of the most-used combos and practice them in Notes, Safari, and Messages. - 3
Add shortcuts in SwiftUI apps
Create reusable shortcuts with SwiftUI’s `.keyboardShortcut` and `Commands` to expose app-level shortcuts. Start with a small demo: a Submit button that uses Cmd+Enter to submit.
Tip: Prefer discoverability titles for menu-based shortcuts so users can see them in menus. - 4
Implement UIKit shortcuts for legacy views
If your app uses UIKit, implement `UIKeyCommand` by overriding `keyCommands` and providing a discoverability title.
Tip: Test on both iPhone and iPad since behavior can vary by device form factor. - 5
Test accessibility impact
Ensure VoiceOver and other accessibility features announce shortcut availability clearly. Some users rely on shortcuts for navigation; confirm focus order remains logical.
Tip: Enable VoiceOver during tests to verify spoken feedback for shortcuts. - 6
Cross-device testing
Test shortcuts on real devices and simulators to verify consistency. Some shortcuts may be overridden by app-specific menus; adjust accordingly.
Tip: Document any app-specific overrides for your users.
Prerequisites
Required
- iPhone or iPad with iOS 16 or laterRequired
- Basic knowledge of Swift/SwiftUIRequired
Optional
- Optional
- Optional
- Familiarity with app accessibility and discoverabilityOptional
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| CopySystem-wide copy command | Ctrl+C |
| PasteSystem-wide paste command | Ctrl+V |
| UndoUndo last action | Ctrl+Z |
| RedoRedo last undone action | Ctrl+⇧+Z |
| Open SearchOpen system search or Spotlight variant | Ctrl+␣ |
| New documentCreate a new document in apps that support it | Ctrl+N |
Questions & Answers
What devices support iOS 16 keyboard shortcuts?
iOS 16 keyboard shortcuts work on iPhone and iPad when you use an external keyboard. System-wide shortcuts are generally available across supported apps, while app-specific shortcuts depend on the developer’s implementation. Always verify shortcut support in the target app’s menu or settings.
External keyboard shortcuts work on iPhone and iPad with iOS 16, but you’ll want to check each app for app-specific commands.
Do iPhone and iPad support external keyboard shortcuts in iOS 16?
Yes. iOS 16 adds stronger external keyboard support for both iPhone and iPad, including common system shortcuts and the ability for apps to declare their own shortcuts with SwiftUI or UIKit APIs.
Yes, both iPhone and iPad support external keyboard shortcuts in iOS 16, including system and app-defined commands.
How do I discover shortcuts in a specific app?
Many apps expose shortcuts via their menu bar or a help section. On iPad, you can often press and hold the Command key to reveal a popover listing available shortcuts for that app. Look for a keyboard icon next to commands in menus.
Check the app’s menus or long-press keys to reveal shortcuts. Some apps show a keyboard icon beside commands.
Can I create custom shortcuts for my own apps?
Yes. In SwiftUI, you can expose app-wide shortcuts using AppCommands and `keyboardShortcut` modifiers. In UIKit, use `UIKeyCommand` to declare commands and map them to actions. Document these for users and ensure discoverability.
You can create custom shortcuts in SwiftUI and UIKit, with proper discoverability for users.
Main Points
- Master core system shortcuts (copy/paste/undo/redo)
- Use Cmd+Tab and Cmd+Space on iPad with an external keyboard
- Leverage SwiftUI AppCommands to expose app-wide shortcuts
- Document and test shortcuts across apps for consistency
- Provide discoverability titles for quick UX gains