Edit

Share via


UITextFieldDidEndEditingReason Enum

Definition

Enumerates reasons that an editing session ends.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITextFieldDidEndEditingReason
type UITextFieldDidEndEditingReason = 
Inheritance
UITextFieldDidEndEditingReason
Attributes

Fields

Name Value Description
Unknown -1

Indicates that the reason for ending the edit are unknown.

Committed 0

Indicates that the user saved the edit.

Cancelled 1

Indicates that the user cancelled the edit.

Applies to