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

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift