//設置tableView為只讀權限
[_tableView setAllowsSelection:NO];
//設置單元格選擇樣式
// cell.selectionStyle = UITableViewCellSelectionStyleNone;
#PRagma mark tableView代理源
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[tableView deselectRowAtIndexPath:indexPathanimated:NO];
}
新聞熱點
疑難解答