The above boolean property when set to true allows the focus to return to the tableview cell which was focused before the focus left the tableview. When the focus returns to the tableview, the last focused indexpath of the tableview cell will automatically gain focus. By default, this property is set to false.
//Automatically set focus to last focused cell
var tableView = UITableView()
tableView.remembersLastFocusedIndexPath = true