I have a standard UITableViewController
. In the cellForRowAtIndexPath
I add a subview to cell.contentView
. This UIView
itself contains a UITextField
object. This object will not respond to touches. I have set the delegate to the UIView and implemented all the methods. I have also set userInteractionEnabled = YES
. When I tap the UITextField
nothing happens! I feel it's being absorbed by the cell. What would be the easiest, least messy fix?
Best, Joris
EDIT: Sorry, see my answer. I solved it.