Tell the UITableView to endEditing:
.
iOS: Finding out who is first responder on a dynamically changed UITableView
-
02-04-2022 - |
Pergunta
I have a UITableView
which have custom cells with UITextField
s in them. My UITableView
is defined on my MainViewController
, while my cells are defined in the CustomCell
class. Each time I press a button, a new cell is created. I am having trouble making my cell's UITextField
resign first responder, since cells are dynamically added and defined in a different class than the main controller. How do I do that? Thanks a lot!
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow