I've done this by pre-pushing a view controller - ie, my stack looks like: Tax Overview Detail
the user starts at Overview. They can go back to tax, or forward to detail.... On 22 March 2013 05:56, c0ld <[email protected]> wrote: > 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 -- Nic Wise t. +44 7788 592 806 | @fastchicken b. http://www.fastchicken.co.nz/ _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
