title: Function textFieldShouldBeginEditing is not called
body: <p>I know that there are similar questions, but thiere answers didn't help me. I geuss I have some other bug.</p>
  
  <p>I have a textView, I am setting it's delegate to self, but the relevant function is not called.</p>
  
  <p>Here is the code:</p>
  
  <p>In .h:</p>
  
  <pre><code>@interface MyViewController : UIViewController&lt;UITextFieldDelegate&gt;
  @property (retain, nonatomic) IBOutlet UITextField *nameField;
  </code></pre>
  
  <p>In .m:</p>
  
  <pre><code>...
  @synthesize nameField;
  ...
  -(void)viewWillAppear:(BOOL)animated{
      [super viewWillAppear:animated];
      nameField.delegate = self;
  ...
  }
  - (BOOL)textFieldShouldBeginEditing:(UITextField *)textField{
      exitKeyboardButton.hidden = NO;
      return YES;
  }
  </code></pre>