Ever wanted to have your own custom loader view instead of iOS’ default spinning circle?
If what you want isn’t very complicated, you could probably achieve it very easily using UIImageView’s animationImages property. The catch is that your animation should be easily expressible with images. If so, you do:
UIImageView *imageView = [[UIImageView alloc] initWithFrame:frame];
imageView.animationImages = [self animationImages]; //method to return an array of UIImage objects
imageView.animationDuration = 0.5; //could be whatever you want
[imageView startAnimating]; //for starting animation
[imageView stopAnimating]; //for ending animation