iOS 7 Custom Transitions - Basic Example
There’s really not much sample code knocking around for iOS 7 custom transitions yet (or else Google is broken..): I guess that NDA is still only freshly lifted.
I’ve put together a simple example of how to present a new
UIModalPresentationCustom-style Modal UIViewController with a
UIViewControllerTransitioningDelegate managing the show. Have a play with this, it’s simple enough to be self explanatory and useful for experimenting with – I hope it helps.
View the source on GitHub
- WWDC Session 218 Video: “Custom Transitions using View Controllers”. Consider this required viewing! (requires Apple Developer account, unfortunately.)
- PMInteractiveNavigationController Interactive navigation controller pop gesture.
- TransitionsCodeLab more complex example of what’s possible with custom transitions in using UICollectionView.
- iOS 7: Custom Transitions – genesis of my example code.