Created
June 17, 2014 06:21
-
-
Save minsOne/2a8dadb1ebc49050ab18 to your computer and use it in GitHub Desktop.
UIButton 클릭시 커졌다 작아지는 애니메이션 효과
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UIButton *button = (UIButton *)sender; | |
| button.transform = CGAffineTransformMakeScale(1.2, 1.2); | |
| [UIView animateWithDuration:0.2 animations:^{ | |
| button.transform = CGAffineTransformMakeScale(1.0, 1.0); | |
| } completion:^(BOOL finished) { | |
| }]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment