cell.selectionStyle = UITableViewCellSelectionStyleNone;// 点击无效果
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// 移开选中效果消失
[tableView deselectRowAtIndexPath:indexPath animated:NO];
}
cell.selectionStyle = UITableViewCellSelectionStyleNone;// 点击无效果
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// 移开选中效果消失
[tableView deselectRowAtIndexPath:indexPath animated:NO];
}