<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "macCatalyst: 16.4.0 -",
    "tvOS: 16.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextInputContext/isHardwareKeyboardInputExpected",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITextInputContext(py)hardwareKeyboardInputExpected"
  },
  "title" : "isHardwareKeyboardInputExpected"
}
-->

# isHardwareKeyboardInputExpected

Returns a Boolean value that indicates whether someone is likely to enter text using a hardware keyboard.

```
var isHardwareKeyboardInputExpected: Bool { get set }
```

## Discussion

When hardware keyboard input is likely, adjust your UI or perform any actions you need to accommodate that input.

---

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)