Implemented an animation in Image View
and would like to know how to change its image exactly after the animation ends.
Example:
- (IBAction)play:(id)sender {
//ANIM . . .
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1]; //TEM DURAÇÃO DE 1 SEGUNDO . . .
[UIView setAnimationBeginsFromCurrentState:TRUE];
self.objeto.frame = CGRectMake(95, 100, 62, 62); //OBJETO É UMA IMAGE VIEW . . .
[UIView commitAnimations];
//NESTE CASO, MUDAR IMAGEM APÓS 1 SEGUNDO . . .
}