How to disable the tableView selection in iOS swift
Solution:
You can disable the did select option in tableView iOS swift.
It will disable selection for entire tableView.Didselect delegate method never works when added the above code.Inside the cell if you had any buttons then the action will work.But cell selection tableView only not work.
You can disable the did select option in tableView iOS swift.
myTable.allowsSelection = false
It will disable selection for entire tableView.Didselect delegate method never works when added the above code.Inside the cell if you had any buttons then the action will work.But cell selection tableView only not work.
Comments
Post a Comment