I have a UITableView
with two custom cells and each of them has a subview with a UITextField
inside it. I have tried adding a UIButton
on top of the UITableView
and have it resignFirstResponder
but that just means you won't be able to tap anywhere else - not even on the UITextFields
to enter text.
How do I make it so if I tap outside those two UITextFields
, I can call resignFirstResponder, so the user can get back to the other cells?
Thanks