UITableView Setting some cells as “unselectable”

后端 未结 16 1456

How can I set the UITableView\'s cell property to be unselectable? I don\'t want to see that blue selection box when the user taps on the cell.

16条回答
  •  一整个雨季
    2020-12-12 18:34

    If you have designed your cell in Interface Builder, you can do this by removing the checkbox from 'User Interaction Enabled' for the tableViewCell.

提交回复
热议问题