欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

animationWithKeyPath

系統 2117 0

CABasicAnimation animationWithKeyPath Types

When using the ‘CABasicAnimation’ from the QuartzCore Framework in Objective-C, you have to specify an animationWithKeyPath.? This is a long string and is not easily listed in the CABasicAnimation, CAPropertyAnimation, or the CAAnimation class.? I ended up finding a handy chart within the Core Animation Programming guide in Apple’s iPhone OS Reference Library.? Hope this helps save someone time, at least it will for me.

animationWithKeyPath types

      //The following code moves a view up 60 pixels and stops.

CABasicAnimation *theAnimation;
theAnimation=[CABasicAnimation animationWithKeyPath:@"transform.translation.y"];
theAnimation.delegate = self;
theAnimation.duration = 1;
theAnimation.repeatCount = 0;
theAnimation.removedOnCompletion = FALSE;
theAnimation.fillMode = kCAFillModeForwards;
theAnimation.autoreverses = NO;
theAnimation.fromValue = [NSNumber numberWithFloat:0];
theAnimation.toValue = [NSNumber numberWithFloat:-60];

[self.view.layer addAnimation:theAnimation forKey:@"animateLayer"];

    

animationWithKeyPath


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 久草在线国产 | 日韩不卡高清 | 国产亚洲精品国产一区 | 操一操 | 欧美一区二区三区久久精品 | 亚洲天堂久久 | 国产精彩视频在线 | 99九九精品| 中文字幕日韩欧美 | 黄视频免费在线 | 日韩精品一区二区三区中文 | 国产乱妇无码大黄AA片 | 亚洲第一第二区 | 精品一区二区久久久久久按摩 | 欧美人成在线 | 狠狠插天天干 | 国产九九精品视频 | 国产在线激情视频 | 97精品国产 | 好看的一级毛片 | 免费的色网站 | 国产精品一区二区三区四区 | 亚洲欧洲av在线 | 日韩av电影免费看 | 亚洲天堂久久精品成人 | 欧美一级大片免费观看 | 久久久99精品久久久 | 青青草在线视频免费观看 | 国产二区三区 | 国产成人久久婷婷精品流白浆 | 色综合久久婷婷天天 | 亚洲精品亚洲人成人网 | 综合国产 | 性爱视频在线免费 | 午夜丁香婷婷 | 欧美激情午夜 | 久久蜜桃亚洲一区二区 | 日日视频 | 黄色资源在线观看 | 亚洲成av| 中文字幕成人乱码在线电影 |