I’d like to know the simplest code to dismiss the number pad keyboard when tapping anywhere outside the number pad. It’s a simple application to input a number inside a text field and then a user can dismiss the keyboard after the user finishes typing the numbers on the text field. Thanks! 🙂
Share
Declaring the text field as instance variable or property if it isn’t already and implementing a simple method like this:
will do just fine.