I have a UITabBarController
as my rootViewController and based on an action, I call presentViewController
on the tabBarController which works fine. The controller that is presented is a UINavigationController
Based on an action in that I want to transition from the currently presented UINavigationController to a different UINavigationController by using transitionFromViewController:toViewController:duration:options:animations:completion:
but throws an error:
Parent view controller is using legacy containment in call to -[UIViewController transitionFromViewController:toViewController:duration:options:animations:completion:]
People talk about getting this when calling it on UINavigationController but this is for a UITabBarController which I hope is different.
Ultimately I'd like to transition from the currently presented UINavigationController to a new UINavigationController with a cross dissolve. I can dismiss the first one and present the second one but its slides from the bottom. Is this possible?