title: textFieldShouldReturn is not called
body: <p>I want to make the keyboard disappear when the user clicks the "return" button,  I was told to use </p>
  
  <pre><code>-(BOOL)textFieldShouldReturn:(UITextField *)textField {
      [tf resignFirstResponder];
      return YES;
  }
  </code></pre>
  
  <p>But nothing happens when I click the "return" button, the method isn't even being called. I am  doing this in </p>
  
  <pre><code>@interface gameOverMenu : UIView
  </code></pre>
  
  <p>not in the ViewController. I also don't use interface builder. What should I do?</p>