-
-
Save chrissingh/01ec967c85629b45706cc080cc781dce to your computer and use it in GitHub Desktop.
Changing the UINavigationController animation style
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
CATransition *transition = [CATransition animation]; | |
transition.duration = 0.3f; | |
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; | |
transition.type = kCATransitionFade; | |
[self.navigationController.view.layer addAnimation:transition forKey:nil]; | |
[self.navigationController pushViewController:nextVC animated:NO]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment