How to disable the tableView selection in iOS swift

Solution:

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

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift