[Updated on 2 Nov 2020]
I was thinking to write about all possible ways to dismiss the keyboard in iOS app and let people figure out which one is best suited one.
UITextFields has keyboard as first responders, as soon you begin editing keyboard shows up. It is developer’s responsibility to write code to dismiss it.
I will try to explain few methods how to do it especially when there are multiple UITextFields on your view controller.