I have a custom tableviewcell with a label and a textfield. Right now if I click on the cell to edit the textfield, it only focuses on it if I click within the bounds of the textfield. Is there a way for me to click anywhere in the cell and immediately have it focus on the textfield, even if I click on the label?
Thanks
In your tableView delegate, implement this method:
Inside that method, get a reference to the selected tableViewCell using
- (UITableViewCell *)cellForRowAtIndexPath:(NSIndexPath *)indexPathand then callbecomeFirstResponderon the tableViewCell’s textField.