Where can I find the identifier from an UIController (see “xxx” on the code below)?
I tried everything nothing worked, I’ve been searching nobody mention where to get it… sounds like is something very obvious but I can’t figure..
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UIStoryboard* sb = [UIStoryboard storyboardWithName:@"MainStoryboard"
bundle:nil];
BookMenuController* bookControll = [sb instantiateViewControllerWithIdentifier:@"xxx"];
bookControll.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:bookControll animated:YES];
}
To find the identifier in your StoryBoard, click on the UIViewController, and under the attribute inspector you should see a field called Identifier. That is your “xxx”.