zoukankan      html  css  js  c++  java
  • 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];

    }

  • 相关阅读:
    Oracle EBS json
    OAF--基础
    Oracle EBS FA 本年折旧
    Oracle EBS FA 获取累计折旧
    SOAP REST
    Oracle EBS FA 资产取值
    Java ——基础语法
    PL/SQL APIs for Concurrent Processing
    Using Globals in Oracle Reports (Doc ID 34751.1)
    Using SRW Packaged Procedures In Reports (Doc ID 61643.1)
  • 原文地址:https://www.cnblogs.com/xiangjune/p/6419595.html
Copyright © 2011-2022 走看看