table view is not pushing to the new view when cell is touched
===

am trying to navigate from a table view to anther uiview controller. i control drugged my table cell the the new uiview controller. then i typed the following code.

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
        
        
        static NSString *CellIdentifier = @"Cell";
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        // Configure the cell...
        if (cell == nil) {
            cell = [[ UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier];
        }
        if ([indexPath section] == 0) {
            Tips *tipy = [arr objectAtIndex:indexPath.row];
            cell.textLabel.text = [tipy tipdescription];
            cell.detailTextLabel.text = [tipy.tipnumber stringValue];
            NSString *imagefile = [[ NSBundle mainBundle] pathForResource:@"unlikeico" ofType:@"png"];
            UIImage *image = [[UIImage alloc] initWithContentsOfFile:imagefile];
            [[cell imageView]setImage:image];
            cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
                } else {
                    Tips *tipy = [arr2 objectAtIndex:indexPath.row];
                    cell.textLabel.text = [tipy tipdescription];
                    cell.detailTextLabel.text = [tipy.tipnumber stringValue];
                    NSString *imagefile = [[ NSBundle mainBundle] pathForResource:@"likeico" ofType:@"png"];
                    UIImage *image = [[UIImage alloc] initWithContentsOfFile:imagefile];
                    [[cell imageView]setImage:image];
                    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
                        }
        
        return cell;
    }
    
    
    - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
        if ([segue.identifier isEqualToString:@"showtext"]) {
            
            DisplayViewController *dvc = [segue destinationViewController];
            NSIndexPath *path = [self.tableView indexPathForSelectedRow];
            Tips *tipy = [arr2 objectAtIndex:[path row]];  
            [dvc setCurrenttext:tipy];
        }
         
    }

the table display the data but is does not move to the new uiview controller. x code shows no warnings or errors. what could be the problem?

