UIKeyboardLayoutGuide
A layout guide that represents the space the keyboard occupies in your app’s layout.
Declaration
@MainActor class UIKeyboardLayoutGuideOverview
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.