title: what is the difference if i return "YES" or "NO" when i call textFieldShouldReturn
body: <p>This is the text field delegate method  but i have doubt about return type</p>
  
  <pre><code>-(BOOL)textFieldShouldReturn:(UITextField *)textField
  {
    [textField resignFirstResponder];
  
     return NO;
  }  
  </code></pre>
  
  <p>and this is the same method with different return type</p>
  
  <pre><code>-(BOOL)textFieldShouldReturn:(UITextField *)textField
   {
     [textField resignFirstResponder];
  
     return YES;
   }
  </code></pre>
  
  <p>by both we can hide key board in i phone . but what is the meaning of return type "YES" or "NO". I am not seeing any difference.</p>