I am working on a project on which I have to preselect a particular cell.
I can preselect a cell using -willDisplayCell, but I can\'t deselect it when t
-willDisplayCell
Swift
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { // your code // your code // and use deselect row to end line of this function self.tableView.deselectRowAtIndexPath(indexPath, animated: true) }