over 6 years ago
Many social apps are using bouncing effect for buttons and view. Just like Instagram and Facebook is using for LIKE.
Here is the few lines of code. Simply just use your control (UIButton, UILabel, etc etc) instead of view down here...
[UIView animateWithDuration:0.3/1.5 animations:^{ view.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.1, 1.1); } completion:^(BOOL finished) { [UIView animateWithDuration:0.3/2 animations:^{ view.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.9, 0.9); } completion:^(BOOL finished) { [UIView animateWithDuration:0.3/2 animations:^{ view.transform = CGAffineTransformIdentity; }]; }]; }];
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)