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