I can show keyboard by using textField.becomeFirstResponder()
or can hide keyboard by using textField.resignFirstResponder()
.
You may notice in iPhone default message app, when we scroll (or drag) to bottom, the keyboard hides smoothly. And even if we start scroll (or drag) to upside by not touching the bottom, the keyboard shows dynamically.
If I have scrollview or user drag to bottom then how can I implement that.