How do you dismiss the keyboard when editing a UITextField

I know that I need to tell my UITextField to resign first responder when I want to dismis the keyboard, but I’m not sure how to know when the user has pressed the “Done” key on the keyboard. Is there a notification I can watch for?

22 Answers
22

Leave a Comment