title: UIPickerView and UIDatePicker are not responding to interaction
body: <p>I have a UITextField in a UITableView. I am trying to have a UIPickerView or a UIDatePicker as its input view. Both options are appearing and in case of UIPickerView, it is loading correct data. The problem is that it is not scrollable and user cannot interact with it, choose and scroll between the various options.</p>
  
  <p>Userinteraction is set to yes, delegates are correct and everything is in place.</p>
  
  <p>This is the code:</p>
  
  <pre><code>- (BOOL) textFieldShouldBeginEditing:(UITextField *)textField
  {
      UIDatePicker *datepicker = [[UIDatePicker alloc] initWithFrame:CGRectZero];
      [datepicker setDatePickerMode:UIDatePickerModeDate];
  
      textField.inputView = datepicker;
  
      return YES;
  }
  </code></pre>