Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. -(void)awakeFromNib
  2. {
  3.  
  4. [UIView beginAnimations:@"Zoom" context:image];
  5. [UIView setAnimationDuration:3.5];
  6. [UIView setAnimationDelegate:self];
  7. [UIView setAnimationDidStopSelector:@selector(finishedAnimation:finished:context:)];
  8. title.frame = CGRectMake(10, 15, 310, 52);
  9. ....
  10. }
  11.  
  12. ....
  13. if ([animationId isEqual:@"Zoom"])
  14. {
  15. title.alpha = 1.0;
  16. [UIView beginAnimations:@"Fade" context:nil];
  17. [UIView setAnimationDuration:3.8];
  18. [UIView setAnimationDelegate:self];
  19. title.alpha = 0.0;
  20.  
  21. [UIView commitAnimations];
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement