Check And Uncheck Cells In Uitableview Swift 5

[Solved] Check And Uncheck Cells In Uitableview Swift 5 | Swift - Code Explorer | yomemimo.com
Question : check and uncheck cells in uitableview swift 5

Answered by : ghaith-alzin

 func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { tableView.cellForRow(at: indexPath)?.accessoryType = .checkmark } func tableView(_ tableView: UITableView, didDeselectRowAt indexPath: IndexPath) { tableView.cellForRow(at: indexPath)?.accessoryType = .none }

Source : | Last Update : Mon, 31 May 21

Answers related to check and uncheck cells in uitableview swift 5

Code Explorer Popular Question For Swift