UIScrollViewKeyboardDismissMode Enum

Definition

An enumeration whose values specify the mode in which the keyboard is dismissed in a scrollview.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIScrollViewKeyboardDismissMode
type UIScrollViewKeyboardDismissMode = 
Inheritance
UIScrollViewKeyboardDismissMode
Attributes

Fields

Name Value Description
None 0

The keyboard does not get dismissed with a drag.

OnDrag 1

The keyboard is dismissed when a drag begins.

Interactive 2

The keyboard follows the dragging touch offscreen, and can be pulled up again to cancel the dismissal.

Applies to

See also