-(NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
int indexnum = indexPath.row;
if(indexnum == [userinfo count]){
return indexPath;
}else{
return nil;
}
}
返回nil的则不能被点选
-(NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
int indexnum = indexPath.row;
if(indexnum == [userinfo count]){
return indexPath;
}else{
return nil;
}
}
返回nil的则不能被点选