Add a child view controller with push animation?

1.2k views Asked by At

So this is the hierarchy:

BaseViewController: UIViewController
... ParentViewController: BaseViewController (Embed In: UINavigationController).
...... ChildViewController1: UIViewController
...... ChildViewController2: UIViewController
...... ChildViewController3: UIViewController
...... ChildViewController4: UIViewController
............ ChildViewController5: UIViewController 

Need Push/Pop Animation for ChildViewController5.

I have tried iOS: Container view - animate push transition when changing child view controllers but this is not working for me as I don't have common view controllers.

Also, I have a common customized navigation bar created in BaseViewController and it's push/pop is handling inside the ParentViewController.

What is the best alternative to do this?

0

There are 0 answers