Hello I have two UITextFields in my application, and want to dismiss the keyboard when I just touch anywhere except the UITextFields how can I do this?
If you are not using Interface builder, you can manually hook up events as explained here: How can I programmatically link an UIView or UIImageView with an event like "touch up inside"?
If you are using Interface builder, then you don't need to create a background button.
You could do this: