there's a "recipe" for a simple animated image
http://docs.xamarin.com/ios/recipes/Standard_Controls/Image_View/Animate_an_ImageView

looks like 
this<http://docs.xamarin.com/@api/deki/files/902/=ImageViewAnim1.png?size=bestfit&width=233&height=350>

hth
cd

On Wed, Apr 18, 2012 at 3:59 AM, MojoDK <[email protected]> wrote:

> Hi Nic,
>
> Thanks - it got me started.
>
> Here's what I've done so far...
>
> private void StartWaitSpin () {
>        this._viewWait.Hidden = false;
>        UIView.BeginAnimations ("playerWaitSpin");
>        CGAffineTransform t = CGAffineTransform.MakeIdentity();
>        t.Translate(10, 10);
>        t.Rotate(3.14f);
>        this._imageViewWait.Transform = t;
>        UIView.SetAnimationDelegate (this);
>        UIView.SetAnimationDuration (0.2f);
>        UIView.SetAnimationDidStopSelector (new
> MonoTouch.ObjCRuntime.Selector("WaitSpinStopped"));
>        UIView.CommitAnimations ();
> }
>
> [Export("WaitSpinStopped")]
> private void WaitSpinStopped () {
>        StartWaitSpin (); // <- this makes the app crash without an error
> description in output window
> }
>
>
> ... but it seams like calling StartWaitSpin within the WaitSpinStopped
> crashes the app.
>
> Any idea how I get it to loop without crashing?
>
> Thanks!!
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Animate-rotate-an-imageview-tp4564803p4565564.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

Reply via email to