I have this UITableView with custom cells that can get only predefined values, therefore I use a UIPickerView as their inputView. All is jolly good until I edit a field and
I use beginUpdate and endUpdate After end update, get the cell contains the textfield already has focus then make it first responder
self.tableView.beginUpdates()
self.tableView.reloadRows(at: [indexPath], with: .automatic)
self.tableView.endUpdates()
let newCell = self.tableView.cellForRow(at: indexPath)
newCell.textField.becomeFirstResponder()