今天看啥
热点:

spring动画(swift),spring动画swift


spring动画(swift)

by 伍雪颖
loginButton.center.y += 30
loginButton.alpha = 0
UIView.animateWithDuration(1, delay: 0.5,
    usingSpringWithDamping:
0.5,
    initialSpringVelocity:
0,
    options: .AllowUserInteraction,
    animations: {
   
self.loginButton.center.y -= 30
   
self.loginButton.alpha = 1     }, completion: nil)

版权声明:本文为博主原创文章,未经博主允许不得转载。

www.bkjia.comtruehttp://www.bkjia.com/Androidjc/1028631.htmlTechArticlespring动画(swift),spring动画swift spring动画(swift) by 伍雪颖 loginButton . center . y = 30 loginButton . alpha = 0 UIView . animateWithDuration ( 1 , delay: 0.5 , using...

相关文章

相关搜索: iOS 动画 spring swift

帮客评论

视觉看点