title: Tab Button Begins Editing Wrong Text Field
body: <p>I have a <code>UIViewController</code>, <strong>VC</strong> with some elements on it, 2 of which are <code>UITextField</code>s. There is a button that, upon the users touch, presents a new controller <code>CustomAlertViewController</code>, <strong>VCAlert</strong> over the current VC with a modal presentation style of <code>UIModalPresentationOverCurrentContext</code>.</p>
  
  <p>In this <strong>VCAlert</strong> I have 3 text fields.</p>
  
  <hr>
  
  <p>When I press the tab key on my bluetooth keyboard, initially it <strong>only</strong> toggles through the 2 text fields on <strong>VC</strong>, even <strong>after</strong> presenting <strong>VCAlert</strong>, which is now the top-most presented view controller.</p>
  
  <p>This is the important bit:</p>
  
  <blockquote>
    <p>AFTER I tap one of the 3 fields on <strong>VCAlert</strong>, pressing the
    tab button correctly toggles through the 3 fields on the top-most view
    controller, now ignoring the input fields in the view controller underneath.</p>
  </blockquote>
  
  <hr>
  
  <blockquote>
    <ul>
    <li>Is there a way to tell <strong>VCAlert</strong> (the top-most presented view controller) to listen for the tab button events, and NOT the parent controller any longer (until of course <strong>VCAlert</strong> is dismissed)?</li>
    </ul>
  </blockquote>
  
  <p><em>I would like to accomplish this without having to remove the delegates from the 2 VC text fields, OR removing them from the view.</em></p>
  
  <p><strong>CODE:</strong></p>
  
  <p>The code is extremely straightforward... so it will be limited.</p>
  
  <p>Each <code>UITextView</code> has its delegate registered to the respective view controller. The <strong>VCAlert</strong> controller is presented in the following way:</p>
  
  <pre><code>// Here, self is the VC, and alertViewController is VCAlert
  
  [self presentViewController:alertViewController animated:NO completion:^{
  
      // Do absolutely nothing here like usual
  
  }];
  </code></pre>
  
  <hr>
  
  <p><strong>FYI:</strong></p>
  
  <p>I have tried called <code>becomeFirstResponder</code> on one of the text fields in <strong>VCAlert</strong> then immediately called <code>resignFirstResponder</code>, but it doesn't make the tab bar toggle them - it still toggles the fields on the view controller below.</p>