I am trying to accomplish something like this:
My Setup is this:
I have a Storyboard Setup with the SlidingViewController as the RootViewController. The Left Panel is acting as the Navigation Menu. From this Menu, I have Segues to different NavigationControllers
What I want to do:
I want to transition between different NavigationControllers without 'loosing' the SidePanel. For an example: A User wants to add a product to the cart, but is not signed in - It should take them to the "Account Creation"-Navigation Controller.
How I am doing it right now:
[self.slidingViewController setTopViewController:[self.storyboard instantiateViewControllerWithIdentifier:@"accountSetup"]];
This works, kinda. It changes the top navigation controller - but it does it instantaneously. Is there a way how I could animate this (like it is available for Segues?)
Thank you!
I would add custom animation code to the SlidingVC method. You'll probably want to add a bool and check that before running the anim code.
Don't forget to reset your bool.