Contents

UIKeyboardLayoutGuide

A layout guide that represents the space the keyboard occupies in your app’s layout.

Declaration

@MainActor class UIKeyboardLayoutGuide

Overview

Configure the keyboard layout guide, and activate or deactivate constraints so your app’s layout adjusts to the keyboard in different situations. See Adjusting your layout with keyboard layout guide for an example of how to dynamically respond to keyboard presentation, dismissal, and movement.

Topics

Supporting floating and undocked keyboards

Adjusting dismissal sensitivity

Configuring safe area usage

See Also

Keyboard layout