隐藏当细胞被触摸灰色
答
您可以使用此:
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
tableView.deselectRowAtIndexPath(indexPath, animated: true)
}
或
cell.selectionStyle = UITableViewCellSelectionStyle.None
答
试试这个代码在didSelectRowAt#
cell.selectionStyle = UITableViewCellSelectionStyleNone