PaperFoldMenuController
PaperFoldMenuController copied to clipboard
showMenu:animated doesn't work with presentViewController:animated:completion:
I created a PaperFoldMenuController and setted some viewControllers to it, let's say viewControllerOne
and viewControllerTwo
. Everything loads perfectly up till this point and if the showMenu:animated
is called, it shows the menu without glitches, but when viewControllerOne
present a third view controller, say viewControllerThree
, using the presentViewController:animated:completion:
method, showMenu:animated
stops to work.
According to Apple docs, presentViewController:animated:completion:
on the iPhone goes full screen, but why can't the PaperFoldMenuController slide itself into the left?
The behavior described above is right, after all. The view associated with the PaperFoldMenuController is the one below the presentViewController, so when you dismiss the viewController, you can see that menu is not displayed.