Hello guys.
I created such SWReveal scheme in storyboard contain:
rear - UIViewController (with table delegate) - here's menu
right - UIViewController
front - UIViewController (Dashboard)
Also i have some UIViewControllers, which i call such way:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle: nil];
UIViewController *controller = nil;
if(indexPath.row == 0) // Here UIViewController - works like a charm
{
controller = [storyboard instantiateViewControllerWithIdentifier:@"Dashboard"];
}
/* more VCs */
else if(indexPath.row == 5) // Here UITabBarController - here's issue
{
controller = [storyboard instantiateViewControllerWithIdentifier:@"TabBar"];
}
[self.revealViewController pushFrontViewController:controller animated:YES];
UITabBarController have for instance 2 child UIViewControllers.
I have such issue, when i call UITabBarController, it opens as needed, but when i assign custom class for one of UITabBarController children UIViewControllers it loads UITabBarController class (i see in logs) then push initial scene like i just launched app again (in this case - Dashboard), but not first tab's VC.
Additional info:
I don't use UINavigationController, but i tried to add UINavCtrlr and attach UITBCtrlr to it - the same issue.
Hello guys. I created such SWReveal scheme in storyboard contain:
Also i have some UIViewControllers, which i call such way:
UITabBarController have for instance 2 child UIViewControllers. I have such issue, when i call UITabBarController, it opens as needed, but when i assign custom class for one of UITabBarController children UIViewControllers it loads UITabBarController class (i see in logs) then push initial scene like i just launched app again (in this case - Dashboard), but not first tab's VC.
Additional info: I don't use UINavigationController, but i tried to add UINavCtrlr and attach UITBCtrlr to it - the same issue.
Thank you for your help.