UInavigation Controller not working from switching view controller to tableviewcontroller
===

I'm trying to implement UInavigation controller to switch views from view controller to table view controller.Here is my code.

    -(IBAction)product:(id)sender
    {
    Products *second=[[Products alloc]init];
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:second];
    
    nav.modalTransitionStyle=UIModalTransitionStyleCrossDissolve;
    
    [self.navigationController pushViewController:second animated:YES];
    
    }

But i'm not getting it..Am i missing anything..
