iOS Mail/Music app like Presentation animation. Written in Objective-C.
-
Clone/Download the master-repo.
-
Import
"CustomAnimation"
folder into your project. -
Add
#import "OverlayTransitioningDelegate.h"
-
Create
OverlayTransitioningDelegate
@property (nonatomic, strong) OverlayTransitioningDelegate *animationDelegate;
- Before presenting view controller add these lines
self.animationDelegate = [[OverlayTransitioningDelegate alloc]init];
viewController.transitioningDelegate = self.animationDelegate;
viewController.modalPresentationStyle = UIModalPresentationCustom;