欧美三区_成人在线免费观看视频_欧美极品少妇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條評論
主站蜘蛛池模板: 香蕉一区二区 | 免费一级片在线观看 | 中文字幕三区 | 美女网站在线观看视频18 | 国产换爱交换乱理伦片 | 精品一区二区三区免费毛片 | 91免费在线看 | 亚洲最大黄色网址 | 男女男精品视频免费观看 | 精品久久洲久久久久护士免费 | 在线播放一区二区三区 | 欧美成人免费看片一区 | 天天影院 | 一区久久 | 久草在线中文888 | 国产淫视| 欧美亚洲第一页 | 92精品国产自产在线观看48页 | 人人干人人舔 | 毛片大全免费看 | 青草视频在线免费观看 | 日韩成人在线电影 | 一级做a爰性视频 | 九色网址 | 一起射综合网 | 久草国产精品 | 在线亚洲一区二区 | 夜夜视频 | 2015小明看日韩成人免费视频 | 91精品国产综合久久久蜜臀粉嫩 | 日韩一区二区在线视频 | 青青草免费国产线观720 | 九九激情网 | 国产91成人精品亚洲精品 | 亚州精品天堂中文字幕 | 午夜电影合集 | 欧美在线网站 | 二区国产 | 一区二区三区日 | 国产一级高清 | 日本黄色高清网站 |