Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

storyboard doesnt contain a view controller with identifier


storyboard doesnt contain a view controller with identifier  using -'ios,objective-c,xcode,storyboard'

I keep getting the following error:

Storyboard (<UIStoryboard: 0x7ebdd20>) doesn't contain a view controller
with identifier 'drivingDetails'


This is the code:

- (void)tableView:(UITableView *)tableView
        didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

   UIViewController *controller =  [self.storyboard instantiateViewControllerWithIdentifier:@"drivingDetails"];
   controller.title = [[dao libraryItemAtIndex:indexPath.row] valueForKey:@"name"];
   [self.navigationController pushViewController:controller animated:YES];
}


I have already set the identifier on the UIStoryboard but I'm still getting this error.




    

asked Oct 13, 2015 by sujata naik
0 votes
20 views



Related Hot Questions



Government Jobs Opening


...