Q:

How to prevent UITableView interaction while UITextField is FirstResponder

Is there a simple way to prevent user interaction while entering text in a UITextField (the textfield is in a cell of the tableView)?
I've already tried this:
- (void)textFieldDidBeginEditing:(UITextField *)textField {
    self.tableView.userInteractionEnabled = NO;
}

with the result that the keyboard also stops showing up...

A:

The first thought that comes to mind is adding a transparent UIView overlay that would "mask" everything surrounding your cell, intercepting all the touch events.  I suppose it would have to be two overlays - one for above the cell and one for below.

