How Can I Use UISlider to cycle through an UIImageView image sequence to create an animated effect?

I don't think you can get a UISlider object to work with animationImages property of an UIImageView However you can maintain an array of UIImage s and then set the UIImageView object's image property. For this you will have to set an action for the UIControlEventValueChanged event. Set the max value of the slider to the number of images i.

E imageArray count and then based on the current value of the slider, update the image.

I don't think you can get a UISlider object to work with animationImages property of an UIImageView. However you can maintain an array of UIImages and then set the UIImageView object's image property. For this you will have to set an action for the UIControlEventValueChanged event.

Set the max value of the slider to the number of images i.e. ImageArray count and then based on the current value of the slider, update the image. - (void)valueChanged:(UISlider *)slider { NSInteger currentImageIndex = lroundf(slider.

Value); imageView. Image = imageArray objectAtIndex:currentImageIndex; slider setValue:roundf(slider. Value) animated:YES; }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions