В обработчике выделения различают эти два случая, поэтому у вас будет что-то вроде:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
if (indexPath.section == 0){
//Some code to go to the next page
}
else{
// Some code not going to another page
}
}