Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. NSMutableArray *splashImages = [[NSMutableArray alloc] init];
  2. for(int i=1;i <= 48;i ++)
  3. {
  4. [splashImages addObject:[UIImage imageNamed:[NSString stringWithFormat:@"img%d.jpg",i]]];
  5. }
  6. [ImageView setAnimationImages:splashImages];
  7. [ImageView setAnimationDuration:1.0];
  8. [ImageView startAnimating];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement