how to disable uitableview selection in swift code example Example: how to disable uitableview selection in swift tableView.allowsSelection = false