objective c - UITableView reloadData causes UITextField to resignFirstResponder -


i have textfield set change tableview's datasource each letter that's entered (and call reloaddata).

but reason, every time letter entered, keyboard dismissed.

anyone know why?

your text field resigning because reloaded cells sent -resignfirstresponder message due fact survival not guaranteed after reload. see related question more.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -