I want to launch a childViewController of my initialView when it is launched from sliding or pressing a push notification.
Right now, I can launch to the childView, but the functions do not work. One of the labels I've initiated in the .m file is also not showing.
How can I make sure every function (back button(that pops back to parent), functionButtons in the view, segues it leads to) works properly.
This is my code for loading the view:
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard"
bundle: nil];
NotificationsViewController *viewController= [mainStoryboard instantiateViewControllerWithIdentifier:@"NotificationsViewController"];
UINavigationController *nav = [[UINavigationController alloc]
initWithRootViewController:viewController];
[_window setRootViewController:nav];