<!--
{
  "availability" : [
    "Xcode: 12.0.0 -",
    "macCatalyst: 14.0.0 -",
    "iOS: 14.0.0 -"
  ],
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/adding-hardware-keyboard-support-to-your-app",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "Adding hardware keyboard support to your app"
}
-->

# Adding hardware keyboard support to your app

Enhance interactions with your app by handling raw keyboard events, writing custom keyboard shortcuts, and working with gesture recognizers.

## Overview

> Note: This sample code project is associated with WWDC20 session [10109: Hardware Keyboard Best Practices](https://developer.apple.com/wwdc20/10109/).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)