loading another tableview when a tablecell of one tableview is clicked returning error:"Program received signal SIGABRT" <p>I am creating an app in which there are two UIViews and in those UIViews I am loading Tableviews.. When I click a tablecell in one TableView then I am unable to redirect it to another TableView and getting error:Program received signal SIGABRT.But if I want to load a UIView when a tablecell is clicked it gets executed perfectly.I couldn't understand where Am I going wrong.... This is the code i'm writing</p> <pre><code> ViewController1: #import ViewController2.h" -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { ViewController2 *v2 = [ViewController alloc] initWithNibName:@"ViewController2" bundle:[NSBundle mainBundle]]; [self presentModalViewController:v2 animated:NO]; **//getting error at this line** [v2 release]; } ViewController2.h #import"ViewController1.h" - (void)viewDidLoad { [super viewDidLoad]; tableView1 = [[UITableView alloc]initWithFrame:CGRectMake(10, 10, 320, 460)]; tableView1.delegate = self; tableView1.dataSource = self; [self.view addSubview:tableView1]; } </code></pre> <p>Couldn't understand what could be the possible cause of this error..</p>