For this case, do this (also uncompiled):
[UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:3.0]; [defaultImageView setAlpha:0.0]; [UIView commitAnimations];
Use of this method is discouraged in iOS 4.0 and later. You should use the block-based animation methods instead.
Thanks!
For this case, do this (also uncompiled):