I have added collection view in a UITableViewCell. My UITableViewCell subclass is the UICollectionViewDelegate. Now if I try to load or push a view controller using the below code:
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
ExhibitDetailsViewController* detailViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"exhibitDetail"];
detailViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self.navigationController pushViewController:detailViewController animated:YES];
}
I get the error: "storyboard not found"
How can I push or load a UIViewController from a UITableViewCell subclass?