Paste
Pasted by Raja ( 12 years ago )
NSArray *images= [NSArray arrayWithObjects:[UIImage imageNamed:@"fish_right1"],
[UIImage imageNamed:@"fish_right2"], [UIImage imageNamed:@"fish_right3"], [UIImage imageNamed:@"fish_right4"], [UIImage imageNamed:@"fish_right14"], [UIImage imageNamed:@"fish_right15"], [UIImage imageNamed:@"fish_right20"], nil];
int currentImageIndex=0;
[UIView animateWithDuration:2.0 delay:0.0 options:UIViewAnimationOptionAllowUserInteraction animations:^{
[self.first_fish setImage:[images objectAtIndex:currentImageIndex] ];
}completion:Nil ];
Revise this Paste
Children: 69019