Here is some blog post that I found explaining the new transition API for iOS 7, go through it, read it.
In short lines, here are the steps
1 - Set the delegate transition to the controller
There are 3 types of transitions you can configure:
UINavigationController transitions push and popUItabBarController tab changed.presentViewController:animated
:
UINavigationControllerDelegateUITabBarControllerDelegateUIViewControllerTransitioningDelegate
, - , :
pushViewController:animated: popViewControllerAnimated:setViewControllers:animated:presentViewController:animated
, "", .
, "", - , <UIViewControllerAnimatedTransitioning> ( <UIViewControllerInteractiveTransitioning> , , ). UIViewControllers ( )
2 - ''
, . viewController NSObject.
UINavigationController push pop.
3 - , ,
"" , , .
:
- (NSTimeInterval)transitionDuration:(id<UIViewControllerContextTransitioning>)transitionContext:
- (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext . . ,
- (void)animationEnded:(BOOL)transitionCompleted .
"origin" "target" UIView (, , !)
, , "" . ( UITableVIewDelegate UICollectionViewDelegate didSelect), , THAT, "push", "pop" "presentViewController", .