Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (hidden == YES) {
- self.textLabel.hidden = NO;
- self.image.alpha = 1.0;
- self.image.center = CGPointMake(160, 296);
- hidden = NO;
- }
- else {
- self.textLabel.hidden = YES;
- [UIView animateWithDuration:1.0
- animations:^{
- self.image.center = CGPointMake(320, 0);
- self.image.alpha = 0.0;
- }
- completion:^(BOOL finished){
- }];
- hidden = YES;
- }
Add Comment
Please, Sign In to add comment