Lets see. The docs seem pretty clear. I have never done this before but it looks like this is how it works:
Make a UIImageView in interface builder and link it to an IBOutlet in your view controller.
Code:
imageArray = [NSArray arrayWithObjects:
[UIImage imageNamed:@"frame1.png"],
[UIImage imageNamed:@"frame2.png"],
[UIImage imageNamed:@"frame3.png"],
[UIImage imageNamed:@"frame4.png"],
nil];
myImageView.animationImages = imageArray;
myImageView.animationDuration = 0.25 // Seconds
myImageView.animationRepeatCount = 0 // zero loops for ever
[myImageView startAnimating];
Duration and repeat count are not required and have good default values, but that is how you set them.