iOS-Slide-Menu icon indicating copy to clipboard operation
iOS-Slide-Menu copied to clipboard

Problem with UIViewControllerTransitioningDelegate, UINavigationControllerDelegate

Open LucidityDesign opened this issue 10 years ago • 1 comments

I have a UIViewController which has a custom segue animation. Therefore I use the UIViewControllerTransitioningDelegate and UINavigationControllerDelegate and implement this function func navigationController(navigationController: UINavigationController, animationControllerForOperation operation: UINavigationControllerOperation, fromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning?

When I set self.navigationController?.delegate = self the slideNavigationControllerShouldDisplayLeftMenu function is called 6 times, but the left menu button doesn't appear

LucidityDesign avatar Sep 17 '15 13:09 LucidityDesign

I created a example showing the problem:

https://github.com/LucidityDesign/iOS-Slide-Menu/commit/5df587ab2d4ea9c17ea0d8f6bb1b51270134bb57

LucidityDesign avatar Sep 17 '15 14:09 LucidityDesign