iOS 7 based transition library for View Controllers having a Common View
ASFSharedViewTransition.min your Project.
#import "ASFSharedViewTransition.h"and add tansitions like this:
[ASFSharedViewTransition addTransitionWithFromViewControllerClass:[ViewController class] ToViewControllerClass:[DetailViewController class] WithNavigationController:(UINavigationController *)self.window.rootViewController WithDuration:0.3f];
Note: Transition needs to be added only one time and ASFSharedViewTransition will automatically apply transitions whenever specified UINavigationController navigates between any FromViewController and ToViewController instances.
ASFSharedViewTransitionDataSourceand provide the Common View by implementing this method:
- (UIView *)sharedView
Thats it! A Sample Demo Application has been included for help.
pod 'iOSSharedViewTransition', '~> 1.0.2'