title: becomeFirstResponder cause crash UICompatibilityInputViewController
body: <p>I have a messaging app.
   I have a <code>UITabeView</code> in ViewController. I implement my longPressGesture event on my Custom <code>UITableViewCell</code> like this to show <code>UIMenuController</code> on it ( copy - forward and ... ) :</p>
  
  <p><strong>AudioMsgCell</strong></p>
  
  <pre><code>-(void)handleLongPress:(UIGestureRecognizer *)gesture
          [self becomeFirstResponder]; // i crash on this Line
          UIMenuController *menu = [UIMenuController sharedMenuController];
          UIMenuItem *delete = [[UIMenuItem alloc] initWithTitle:@"Delete" action:@selector(Delete:)];
          CGRect targetRect = [self convertRect:[self.bubbleImageView frame]
                                       fromView:self];
          [menu setMenuItems:[NSArray arrayWithObjects:delete,nil]];
          [menu setTargetRect:targetRect inView:self];
          [menu setMenuVisible:YES animated:YES];}
  </code></pre>
  
  <p>i have a <code>XIB file</code> include <code>UITextField</code> &amp; some <code>UIButton</code> and in myviewController i <code>addSubView</code> to View.</p>
  
  <p><strong>TextingViewController</strong></p>
  
  <pre><code> [self.view addSubview:self.inputView];
  </code></pre>
  
  <p>when I do long press gesture on  cell I get crash on the method </p>
  
  <p><strong>AudioMsgCell</strong></p>
  
  <pre><code> [self becomeFirstResponder]
  </code></pre>
  
  <p>I had this problem in past, when I implemented extrakeyboard in iOS 8 but now  when   do gesture on my Cell app crash with this error :</p>
  
  <pre><code>Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'child view controller:&lt;UICompatibilityInputViewController: 0x14459d620&gt; should have parent view controller:&lt;BLTextingViewController: 0x146801000&gt; but requested parent is:&lt;UIInputWindowController: 0x144a05a00&gt;'
  </code></pre>
  
  <p>please look at this link :
  <a href="https://stackoverflow.com/questions/24029113/error-when-adding-input-view-to-textfield-ios-8/25882277#25882277">Error when adding input view to textfield iOS 8</a></p>
  
  <p>if i remove  addSubView in  ViewController everything is ok But i cant't see  View  ( include TextField  &amp; ... )</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>if the textField is first responder (this crash not happning).
  bug I want to touch my cell when keyboard is resign.</p>