Skip to content

Sample project showing how to retain the swipe back function on UINavigationControllers when using custom transitions

License

Notifications You must be signed in to change notification settings

cjwirth/NavigationControllerTransitions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NavigationControllerTransitions

Do you want to animate your UINavigationController push and pop transitions?

When you do, do you notice how you can't use the swipe back functionality doesn't work anymore?

All you need to do is reset the UINavigationController's delegate to nil when the animation is complete. That's it.

This project shows you one way to do it (hint: it's super easy, but does feel like kind of a hack).

Blog Post

This is the sample app companion to a blog post I wrote about fixing this bug.

License

You can use any of this code as outlined in the MIT License

About

Sample project showing how to retain the swipe back function on UINavigationControllers when using custom transitions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages