Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void) animateButton {
- float alpha = (_animationBGView.alpha < 1? 1 : 0);
- [UIView animateWithDuration:1 animations:^{
- [_animationBGView setAlpha:alpha];
- } completion:^(BOOL finished){
- if(finished) [self animateButton];
- }];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement