欧美三区_成人在线免费观看视频_欧美极品少妇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條評論
主站蜘蛛池模板: 国产精品影视 | 成人一区二区三区在线 | 精品综合 | 黄色网址进入 | 黄片毛片在线观看 | 手机看片国产免费现在观看 | 黄色av电影在线播放 | 手机看片日韩国产 | 九九99九九在线精品视频 | 一区二区三区四区高清视频 | 国产九色在线观看 | 成年网址网站在线观看 | 欧美午夜在线播放 | 精品亚洲一区二区三区 | 初女破苞国语在线观看免费 | 四影虎影ww4hu55.com | 五月婷婷综合网 | 久久国产成人 | 日韩一级在线播放 | 日韩三及片| 一区高清| 亚洲欧美偷拍自拍 | 亚洲免费人成 | 亚洲一区二区三区在线视频 | 日韩欧美亚洲一区 | 亚洲精品人成网在线播放影院 | 国偷自产av一区二区三区 | 成人午夜大片免费看爽爽爽 | 国产精品1区2区3区 一级电影免费 | 亚洲一区在线日韩在线深爱 | 黄色 在线播放 | 波多野结衣中文字幕视频 | 亚洲成人精品 | 91精品天美精东蜜桃传媒免费 | 久久91精品 | 国产精品毛片一区二区在线看 | 色网址在线 | 日本三级理论 | 日韩高清一区二区 | 国产一级毛片夜一级毛片 | 日本一道本视频 |