码迷,mamicode.com
首页 > 其他好文 > 详细

UIView 旋转动画

时间:2014-12-07 06:41:59      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:动画uiview旋转

float begainAngle = 0.0f;

CGAffineTransform afterAngle = CGAffineTransformMakeRotation(begainAngle * (M_PI / 180.0f));

    

    [UIView animateWithDuration:0.01 delay:0 options:UIViewAnimationOptionCurveLinear animations:^{

        iConImage.transform = afterAngle;

    } completion:^(BOOL finished) {

        begainAngle += 2;

        [self startAnimation];

    }];


UIView 旋转动画

标签:动画uiview旋转

原文地址:http://zqlicoder1314.blog.51cto.com/3014999/1587177

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!