Last active
August 29, 2015 14:23
-
-
Save saiday/ac927cbd746e0e113019 to your computer and use it in GitHub Desktop.
ExistViewController
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
| @interface ExistViewController () <UIViewControllerTransitioningDelegate> | |
| @end | |
| @implementation BaseNavigationViewController | |
| - (id<UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed | |
| { | |
| MiniToLargeViewAnimator *animator = [[MiniToLargeViewAnimator alloc] init]; | |
| animator.initialY = bottomBarHeight; | |
| animator.transitionType = ModalAnimatedTransitioningTypeDismiss; | |
| return animator; | |
| } | |
| - (id<UIViewControllerAnimatedTransitioning>)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source | |
| { | |
| MiniToLargeViewAnimator *animator = [[MiniToLargeViewAnimator alloc] init]; | |
| animator.initialY = bottomBarHeight; | |
| animator.transitionType = ModalAnimatedTransitioningTypePresent; | |
| return animator; | |
| } | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment