Hello. Was same problem. There is no normal solution for this.
PushViewController is limited by the standard animation(type of
UIViewAnimationTransition). If you want to change them, try this:

NavigationController.PushViewController(screen, false); 
var theAnimation = CABasicAnimation.FromKeyPath("transform.translation.x");
theAnimation.Duration = 0.6f;
theAnimation.From =
NSNumber.FromFloat(-NavigationController.View.Frame.Width);
theAnimation.To = NSNumber.FromFloat(0f);
NavigationController.View.Layer.AddAnimation(theAnimation, "animate");
NavigationController.View.Layer.AnimationForKey("animate"); 

But it is not perfect, try and u see why. Also u can use
PresentViewController. It have some other standart animations in
UIModalTransitionStyle:

this.NavigationController.PresentViewController(new
UINavigationController(screen){
        ModalTransitionStyle= UIModalTransitionStyle.CoverVertical,
}, true,null);



--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Change-direction-of-push-transition-animation-to-left-tp4658087p4658173.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to