@techytube
  @techytube
techytube | How to use the UIImageView class to animate a series of images @techytube | Uploaded 11 years ago | Updated 3 minutes ago
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By pavel@techytube, for more from this author visit:
http://www.techytube.com/author/pavel

An image view object provides a view-based container for displaying either a single image or for animating a series of images. For animating the images, the UIImageView class provides controls to set the duration and frequency of the animation. You can also start and stop the animation freely.
You specify the animation images by setting the animationImages property of the UIImageView object:
imageView.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"blue"],
[UIImage imageNamed:@"green"],
[UIImage imageNamed:@"orange"],
nil];

We specify the duration of the animation by setting the animationDuration property:
imageView.animationDuration = 3.0f;

We can start or stop animating the images by sending startAnimating or stopAnimating messages to the image view object:
[imageView startAnimating];
or
[imageView stopAnimating];

All images associated with a UIImageView object should use the same scale. If your application uses images with different scales, they may render incorrectly.

For more details, please visit Apple's Online Documentation at:

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImageView_Class/Reference/Reference.html
How to use the UIImageView class to animate a series of imagesMicrosoft SQL Server 2012 Always on Part 2 of 3How to create view controllers programmatically in iOSSonicWall - How to allow or block access to a specific websiteDifferent types of UITableView cells in iOSLinux Archive, Backup And Compress Utility (tar, Gzip, Bzip2, 7zip, Zip etc.) Part - 2

How to use the UIImageView class to animate a series of images @techytube

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER