Cambiar la transición entre UIViewControllers

Dentro de un UIViewController transition = CATransition.animationtransition.timingFunction = CAMediaTimingFunction.functionWithName( KCAMediaTimingFunctionEaseIn)transition.duration = 0.25transition.type = KCATransitionMoveIn #Push Revealtransition.subtype = KCATransitionFromRightself.navigationController.view.layer.removeAllAnimationsself.navigationController.view.layer.addAnimation(transition, forKey:KCATransition) vc=UIViewController.alloc.init self.navigationController.pushViewController(vc, animated:false) Tipos kCATransitionFadekCATransitionMoveInkCATransitionPushkCATransitionReveal [ http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CATransition_Class/Introduction/Introduction.html#//apple_ref/doc/constant_group/Common_Transition_Types ] Subtipos kCATransitionFromRightkCATransitionFromLeftkCATransitionFromTopkCATransitionFromBottom [ …

Leer más