Last active
May 3, 2017 07:08
-
-
Save k3zi/9ab2e57381349dcd7fd9abd6e029430b to your computer and use it in GitHub Desktop.
A basic transition that properly pushes off transparent views
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyViewController: UIViewController, UINavigationControllerDelegate { | |
func navigationController(navigationController: UINavigationController, animationControllerForOperation operation: UINavigationControllerOperation, fromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? { | |
return MPNavigationAnimatedTransitiion(operation: operation) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment