Last Updated: February 25, 2016
·
442
· rohitkotian

Autocorrecting a UITextField

Simply call the method
[txtField resignFirstResponder];
before submitting a text.
I used this method to implement a chat UI for an app.