---
title: isPencilInputExpected
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiscribbleinteraction/ispencilinputexpected
---

# isPencilInputExpected

A Boolean value that indicates the user is likely to use Apple Pencil and handwriting instead of the keyboard to enter text.

## Declaration

```swift
class var isPencilInputExpected: Bool { get }
```

## Discussion

Discussion If set to true, adjust the layout of UI elements that aren’t optimal for direct handwriting input. This allows more room for interaction with Apple Pencil. For example, small or resizable text fields can temporarily change their height to receive input from Apple Pencil, while preserving padding along the bottom of the text field.
