How to make animation stop at the last image?

XamarinNewUserXamarinNewUser USMember ✭✭
edited February 2014 in Xamarin.iOS

I have this animation going on. It shows 0 and 1 image. I want the animation to stop at the last image and not go away. What property can I use?

        // an animating image
        animatedCircleImage = new UIImageView();
        animatedCircleImage.AnimationImages = new UIImage[] {
            UIImage.FromBundle ("0.4.png")
            , UIImage.FromBundle ("1.4.png")
        } ;
        animatedCircleImage.AnimationRepeatCount = 1;
        animatedCircleImage.AnimationDuration = 1;
        animatedCircleImage.Frame = new RectangleF(110, 100, 100, 100);
        View.AddSubview(animatedCircleImage);
Sign In or Register to comment.