Adam Lee
Adam Lee

Reputation: 25738

What does resignFirstResponder mean?

In the login page, there are two text input (text1 and text2) to input username and password. After click login, it calls two resignFirstResponder on those two text boxs. I am wondering why need to call this method?

Upvotes: 3

Views: 3944

Answers (1)

skyzb
skyzb

Reputation: 104

I have no idea what you are talking about, but resignFirstResponder will cause the textbox that currently has focus to release focus and the keyboard will hide.

Upvotes: 8

Related Questions