Objective C close keyboard when return key is pressed : <p>I have a button that when pressed brings up a keyboard for a textfield:</p>

<pre><code>- (IBAction)textButtonPress:(id)sender {
    [self.textField becomeFirstResponder];
}
</code></pre>

<p>The problem I have is that when I press the return button on the keyboard nothing happens.  How can I make the keyboard automatically close when the return key is pressed?</p>
