How can i disable Tableview selection in iOS swift

Solution:

If you want to disable the selection in iOS follow the below code.

tableView.allowsSelection = NO;

It will control the tableView to not calling the didselect row delegate method in TableView.

Comments

Popular posts from this blog

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift