Reputation: 25738
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
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