There's a recipe that shows how to animate using blocks here: http://docs.xamarin.com/ios/recipes/Animation/CoreAnimation/Animate_Using_Blocks
On Thu, Apr 5, 2012 at 10:32 AM, MilkyJoe <[email protected]>wrote: > Is this iOS 4+ code: > > *UIView.Animate (0.5f, 0, UIViewAnimationOptions.TransitionCrossDissolve, > delegate { View.Alpha = 0.0f; }, AnimationEnd);* > > the same as this iOS < 4 code: > > *UIView.BeginAnimations("fade"); > UIView.SetAnimationDelegate(this); > UIView.SetAnimationDuration(0.5f); > UIView.SetAnimationDidStopSelector(new Selector("animationEnd")); > View.Alpha = 0.0f; > UIView.CommitAnimations();* > > ? > > I'm trying to get to grips with the newer UIView.Animate block-based > approach. I've tried different UIViewAnimationOptions values (flip, curl > etc), but none of them seem to have any effect. > > Thanks > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/UIView-Animate-vs-legacy-UIView-BeginAnimations-tp4535008p4535008.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
