Guest User

Untitled

a guest
May 5th, 2012
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Two UILabels under each other, hide the top one
  2. CGRect secondFrame = secondLabel.frame;
  3. secondLabel.hidden = YES;
  4. thirdLabel.frame = secondFrame;
  5.  
  6. [UIView animateWithDuration:0.3
  7. animations:^{label1.alpha = 0;
  8. label2.frame = label1.frame}
  9. completion:NULL];
Advertisement
Add Comment
Please, Sign In to add comment