Updated 08032024-141444
https://developer.apple.com/forums/thread/685201
7A41ACA1-0395-4E11-9B2F-09AAE0D0A84D
(Before I begin, it might explain quite a bit if I note that the only reason I had not yet posted this question here is that I was not aware I could do so. Otherwise, I would have, years ago.)
Some important acknowledgments:
My question, really is:
Where can I find complete documentation of both keyboard shortcuts support in native apps/the OS and UIKeyCommand
’s uniquely-iPhone considerations?
(Please assume I have seen any related docs on developer.apple.com and support.apple.com.)
I’d like to leave it there at the risk of being uselessly verbose. Thank you for your time. I look forward to hearing back.
Hardware keyboards are generally an iPad feature—hence many hardware keyboard features, such as the keyboard shortcut menu and the shortcut bar (both introduced in iOS 9) are unavailable on iPhone. However, hardware keyboards are still supported for text editing on iPhone, and since iOS and iPadOS both share many of the same underlying technologies, then key commands are also supported ( especially to support common text editing commands, such as ⌘B to toggle bold text, and ⌘⌫ to delete a line).
As you mentioned, hardware keyboards are useful on iPhone for numerous Accessibility features, especially for those who find it difficult to use the touchscreen. Full Keyboard Access, for example, can be enabled both on iOS and iPadOS 13.4 or later, and is supported using many of the same APIs as focus keyboard navigation (which is otherwise an iPad feature). We have a great WWDC session this year which covers many of these accessibility topics: https://developer.apple.com/videos/play/wwdc2021/10120/
Here's a support document where some of the hardware keyboard accessibility features are discussed: https://support.apple.com/guide/iphone/keyboards-ipha7c3927eb/ios
In general, you shouldn't need to make iPhone-specific accommodations when adopting UIKeyCommand. Your iPhone app shares the same interface as your iPad app in a horizontally compact layout, such as in Split View or Slide Over mode.
2021-08-14-09.14.40
Thanks so much for your prompt answer! Apologies… I’ve waited to resolve or comment further so as not to waste your time. I hope it’s not too off topic for this forum, but I do have one more request.
Since iPhone is without an equivalent to iPadOS’ handy per-app Keyboard Shortcuts Guide (the frame which appears from holding ⌘,) I was wondering if a list of the still-supported Bluetooth Keyboard Shortcuts still supported on iPhone per native app might be included in a future edition of Apple’s iPhone User Guide in the Apple Books Store, or perhaps in other user-facing documentation.
This is somewhat topical in that it appears Safari for iOS’ Bluetooth Keyboard Shortcuts map is currently changing over the course of this Beta cycle. (If I’m being too obtuse here I would be glad to cite specific examples if they are wanted.)
Otherwise, I have already begun a project to do so and would be glad to share the end product with Apple if that would be welcome.
Again, I suspect I am now quite off-topic for this forum, but I would be extremely grateful - if so - if you could direct me to a more appropriate place where I might continue this discussion about user-facing documentation, specifically.
Once again, I very much appreciate your time and your patience. This will be my last post on this thread in consideration of its potential to be off-topic/disruptive in what I’m sure is a very busy time for you guys. (Unless I hear back otherwise.)
Hi David,
Thank you for your detailed question and the context provided. Your observations about the state of Bluetooth keyboard support and documentation for iPhones are insightful and highlight a gap in current resources.
Where can I find complete documentation of both keyboard shortcuts support in native apps/the OS and UIKeyCommand
’s uniquely-iPhone considerations?
Unfortunately, there isn't a single comprehensive source that documents all the keyboard shortcuts supported on iPhones across native apps and the OS. However, here are some steps and resources that might help:
Thank you again for your question and your efforts in highlighting this important issue. Your initiative is greatly appreciated, and I hope these suggestions help you find the information you need.