I have a UITextfield that i\'d like to dismiss the keyboard for. I can\'t seem to make the keyboard go away no matter what code i use.
You just replace yourTextFieldName with, you guessed it! your textfield. This will close the keyboard.
yourTextFieldName
[yourTextFieldName resignFirstResponder];