Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Two UILabels under each other, hide the top one
- CGRect secondFrame = secondLabel.frame;
- secondLabel.hidden = YES;
- thirdLabel.frame = secondFrame;
- [UIView animateWithDuration:0.3
- animations:^{label1.alpha = 0;
- label2.frame = label1.frame}
- completion:NULL];
Advertisement
Add Comment
Please, Sign In to add comment