Similar to this question I have a custom subclass of UITableViewCell that has a UITextField. Its working fine except the keyboard for doesn\'t go away when the user touches
I think you're on the right track, but touchesBegan:withEvent:
is a UIResponder method, so you'd actually have to override it in a UIView subclass rather than in your UIViewController subclass. Your options are:
touchesBegan:withEvent:
there.tableView:didSelectRowAtIndexPath
in your UITableView's delegate.