Last active
September 8, 2016 15:59
-
-
Save Beniamiiin/fdfffe656fbbe6cab75892ee0a42322c to your computer and use it in GitHub Desktop.
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
- (void)startQrCodeImageViewRotateAnimation { | |
[UIView animateWithDuration:kSCIQRCodeImageViewRotateAnimationDuration | |
delay:kSCIQRCodeImageViewRotateDelay | |
usingSpringWithDamping:kSCIQRCodeImageViewRotateSpringDamping | |
initialSpringVelocity:kSCIQRCodeImageViewRotateSpringVelocity | |
options:UIViewAnimationOptionCurveEaseInOut | |
animations:^{ | |
self.qrCodeImageView.alpha = 1.0; | |
} completion:^(BOOL finished) { | |
[self startQrCodeImageViewRotateAnimation]; | |
}]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment