I place two labels in table view cell. I want label enable select feature. And set the Behavior property is Selectable, but not working. Does anyone know what's going on?
CodePudding user response:
I solved.
- remove the
tableView(_:shouldSelectRow:)func. - Disable the table view's selection style by
tableView.selectionHighlightStyle = .none.
CodePudding user response:
I have not tried Selectable so I am not sure of how it works. However, I think what you're trying to do is what Picker View does. An UIPickerView lets you select one
text element among several others.
