UIResponder.ResignFirstResponder Method

Definition

Called when this UIResponder has been asked to resign its first responder status.

[Foundation.Export("resignFirstResponder")]
public virtual bool ResignFirstResponder ();
abstract member ResignFirstResponder : unit -> bool
override this.ResignFirstResponder : unit -> bool

Returns

true if the UIResponder resigned first responder status.

Attributes

Remarks

Even if this method returns false, the resignation can be forced by the application developer calling M:UIKit.UIView.EndEditing* with its force parameter set to true.

Applies to