title: UITextField inside UICollectionViewCell not reachable
body: <p>Thank you for reading,</p>
  
  <p>I have two <code>UITextFields</code> (along with some labels) inside a <code>UICollectionViewCell</code>. I can select both text fields in the simulator, for <strong>iPhone 6, 6+, 5, 5s, 4s, all iOS8</strong>.</p>
  
  <p>When I hook up my iPhone, an iPhone 5c iOS7 (not-sim), I can only select the top left portion of the top <code>UITextField</code>. An answer would suggest how to select both text fields, and explore other possible reasons someone wouldn't be able to select text fields, as well as possible de-bug methods for this. For those wondering, I will upgrade to ios8 as soon as I get this app working 100% in ios7.</p>
  
  <p><strong>Solutions I've tried:</strong></p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/23575727/unable-to-select-uitextfield">Make sure the textField is inside the known superview</a></li>
  <li>Create a new project, get that working correctly, and copy everything as exact as possible</li>
  <li>Shifting the Text fields so the bottom one is on top</li>
  <li>This had the result of letting me select the new "top" field in the same small hit area.</li>
  <li>Selecting the UICollectionView Cell and auto setting the first responder. This does not work as I want the user to choose which field to make first responder.</li>
  <li>Set all background elements to a different colour to ensure nothing was overlapping the TextField</li>
  <li><a href="https://stackoverflow.com/questions/376372/editing-a-uitextfield-inside-a-uitableviewcell-fails">Set <code>UICollectionView</code> to be Editable</a> -- it only works with <code>UITableViews</code></li>
  <li>Make sure the collectionview elements are in the right order</li>
  <li>Copying and pasting the "Good Text Field" and seeing if that is then selectable.</li>
  <li><a href="https://stackoverflow.com/questions/22436700/focus-on-uitextfield-inside-a-uicollectionviewcell">Deleting the entire <code>ViewController</code> and starting again.</a></li>
  <li>Make sure the <code>UICollectionView</code> cell has "<strong>User Interaction Enabled</strong>"</li>
  </ol>
  
  <p><strong>My Current set up</strong></p>
  
  <ul>
  <li><a href="http://www.smallseed.ca/img/stackOverflow/TextFieldNotSelectable.png" rel="nofollow noreferrer">Heres a screenshot of the storyboard</a></li>
  <li><code>UICollectionView: data-source &amp; delegate = it's superview (UIViewController)</code></li>
  <li><code>UICollectionViewCell</code>: has 4 outlets linking to a custom cell </li>
  <li><code>UITextFields</code>: Delegate is set to <code>UIViewController</code>
  
  <ul>
  <li>Referencing outlets leading to the Cell</li>
  <li><code>EditingDidBegin</code> and <code>EditingDidEnd</code> methods handled in <code>UIViewController</code></li>
  <li>One textfield uses a picker input view, the other a keypad</li>
  </ul></li>
  </ul>
  
  <p><strong>To be clear:</strong></p>
  
  <ol>
  <li>I can get the keyboard to pop up in the simulator, and on my phone in the small hit area</li>
  <li><a href="https://stackoverflow.com/questions/24313273/uicollectionviewcell-and-uitextfield-text">This is not about retrieving the data from text fields.</a></li>
  <li>I could get the test project working but the main project refuses to accept taps in the <code>UITextFields</code></li>
  </ol>
  
  <p><strong>Relevant Code</strong> -
  UIViewController .m</p>
  
  <p>Interface - Private.m</p>
  
  <pre><code>@interface EnterFinalHRViewController () 
  // The current responder showing a keyboard.
  @property (nonatomic, assign) id currentResponder;
  </code></pre>
  
  <p>Text Field Methods</p>
  
  <pre><code>- (IBAction)editingDidBegin:(UITextField *)textField {
  self.currentResponder = textField;
  }
  - (IBAction)resignOnTap:(id)sender {
  //called from a single tap on the view, gesture recognizer is present
  //called when the text field says "Editing did End"
  [self.currentResponder resignFirstResponder];
  }
  
   //implementation of the cell
  
  -(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView
               cellForItemAtIndexPath:(NSIndexPath *)indexPath{
  
  static NSString *cellIdentifier = @"swimmerReview";
  FinalHeartRateCollectionViewCell *cell = (FinalHeartRateCollectionViewCell *)[collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath]; //reuse the cell
  
  Lane *lane = [_lanes objectAtIndex:indexPath.section]; //lanes hold swimmers, so get the lane
  Swimmer *swimmer = [lane.swimmers objectAtIndex:indexPath.row]; //swimmers are in the lane, so get the right swimmer
  
  if (swimmer.actualSwimmerName) {
      cell.swimmerFullName.text = swimmer.actualSwimmerName;
  } else {
      cell.swimmerFullName.text = @"Assign Swimmer";
  }
  
  cell.finalHeartRate.text = @"--";
  
  //Person Picker is a PickerView that lets the user select a swimmer
  cell.swimmerFullName.inputView = PersonPicker;
  
  cell.averageStrokeRate.text = [NSString stringWithFormat:@"Avg SR: %.f", swimmer.strokeRateAvg];
  cell.AveragePace.text = [@"Avg Pace: " stringByAppendingString: swimmer.setSplitAvg];
  
  return cell;
  }
  </code></pre>
  
  <p><strong>The Question</strong></p>
  
  <p>An answer would suggest how to select both text fields, and explore other possible reasons someone wouldn't be able to select text fields, as well as possible de-bug methods for this.</p>
  
  <p><em>Quick shout out to all the contributors at SO, you've all been such a resource, and I have read and learned so much from all the questions you have answered. I just couldn't figure it out this time.</em></p>