Answers for "check and uncheck cells in uitableview swift 5"

0

check and uncheck cells in uitableview swift 5

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
  }
Posted by: Guest on May-24-2021

Code answers related to "check and uncheck cells in uitableview swift 5"

Code answers related to "Swift"

Browse Popular Code Answers by Language