I really got confused about the relationship between the collapsible files and the programmatic translation of the views.
I am using SWRevealViewController to display a menu of items.
If I click on the storyboard using
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; PhotosViewController *controller = [storyboard instantiateViewControllerWithIdentifier:@"PhotosViewController"]; [self presentModalViewController:controller animated:YES]; [self.navigationController pushViewController:controller animated:YES];
All the information in my storyboard is displayed, but the SWFevealViewController button is missing.
If I click on the view controller using
PhotosViewController *frontViewController = [[StreamScreen alloc] init]; newFrontController = [[UINavigationController alloc] initWithRootViewController:frontViewController];
Then I can see everything that I added programmatically, but nothing from the storyboard.
My question is how can I access things from both the storyboard and the things that I added programmatically.
source share