Contents

isPencilInputExpected

Returns a Boolean value that indicates whether someone is likely to use Apple Pencil for input.

Declaration

var isPencilInputExpected: Bool { get set }

Discussion

When pencil input is likely, adjust your UI or perform any actions you need to accommodate that input. For example, you might adjust the size of UI elements to optimize them for handwriting input.

See Also

Getting the expected input type