• ios 图片旋转动画


     

     

    -(void)loopBasecAnimation

    {

        CABasicAnimation *rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];

        rotationAnimation.toValue = [NSNumber numberWithFloat:M_PI * 2.0];

        rotationAnimation.duration = 0.2;

        rotationAnimation.cumulative = YES;

        rotationAnimation.repeatCount =ULLONG_MAX;

        

        [failedTipImageView.layer addAnimation:rotationAnimation forKey:@"rotationAnimation"];

        

    }

     

    -(void)stopLoopAnimation

    {

        [failedTipImageView.layer removeAllAnimations];

    }

  • 相关阅读:
    ajax上传图片的本质
    牛逼的bootcss之buttons
    PHP实现登录,注册,密码修改
    thinkphp中的session()方法
    微信企业号支付个人php实现
    js判断是否是用微信浏览器打开
    助店宝微信商城登录流程图
    微信网页授权
    微信公众平台模板消息发送接口文档
    微信JS-SDK实现自定义分享功能,分享给朋友,分享到朋友圈
  • 原文地址:https://www.cnblogs.com/xiangjune/p/6419595.html
Copyright © 2020-2023  润新知