I have a series of PNG files loaded as an array of UIImages and want to animate them. The idea is the PNG's have some opacity and I want to animate them showing the background through the transparent channels. When I set the UIImageView alpha to 0 (to show the background through) the default behaviour is the UIImageView multiplies the alpha of it's background with the UIImage, so now Im getting the solid part of the animation as having some transparency, surely there is a way to turn of this alpha blending behaviour, if not its a spectacular oversight on apples part. Surely the basis of animation is layering moving images on top of backgrounds?
var images : [UIImage] = [UIImage]()
var i = 0
for i = 0; i < 32; i += 1 {
let image = UIImage(named: "boost_\(i)")
images.append(image!)
}
imageView.alpha = 0
imageView.animationImages = images
imageView.animationDuration = 1
imageView.animationRepeatCount = 1
imageView.startAnimating
the yellow part of the image/animation should be solid
