//设置tableView为只读权限
[_tableView setAllowsSelection:NO];
//设置单元格选择样式
// cell.selectionStyle = UITableViewCellSelectionStyleNone;
#PRagma mark tableView代理源
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[tableView deselectRowAtIndexPath:indexPathanimated:NO];
}
新闻热点
疑难解答