martinjuhasz / MJPopupViewController

A UIViewController Category to display a ViewController as a popup with different transition effects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

transition between popups

opened this issue · comments

Hello, I'm having this problem while trying to make a transition between two different popups:

UIViewControllerHierarchyInconsistency’, reason: ‘child view controller: should have parent view controller:MyNavigationController but actual parent is: FirstViewController’

now I'm adding both the 2 popups as child in the "firstViewController" (which is the first shown and basic viewController of my app), just because I know that two VC needs to have a common parent to use the transition method, this is how I always did.

But I got that error and I'm not sure on how to solve it and why it is appearing, so if I want a button inside the popup that once clicked it shows another popup usin a flip animation, how could I do?

any help and advise would be appreciated, thanks