欧美三区_成人在线免费观看视频_欧美极品少妇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條評論
主站蜘蛛池模板: 黄在线观看在线播放720p | 波多野结衣中文丝袜字幕 | 日韩天天操 | 97伊人久久 | 久在线看 | 不卡一区 | 国产免费又色又爽又黄的网站 | 男女猛操| 国产精品免费大片一区二区 | 免费观看日本a毛片 | 亚洲精品人成网在线播放蜜芽 | 亚洲人成在线播放 | 超级碰在线视频 | 国产午夜精品久久久久久久蜜臀 | 国产视频首页 | 国产精品久久久久久吹潮 | 99免费| 性高湖久久久久久久久aaaaa | 欧洲精品久久久 | 久久综合九色综合欧美狠狠 | 免费高清伧理片午夜伧理片 | 久久久国产视频 | 色婷婷综合久久久中文字幕 | 911网站大全在线观看 | 高清不卡一区 | 亚洲一视频 | 国产激情久久久久久熟女老人AV | 久久香蕉网 | 国产成人综合在线 | 99在线精品视频免费观里 | 看亚洲a级一级毛片 | 天天擦天天干 | 久久久久久久久淑女av国产精品 | 久久无码人妻中文国产 | 国产一区在线免费观看 | 日日爱视频 | 国产精品亚洲片在线观看不卡 | 国产精品啪一品二区三区粉嫩 | 精品尤物 | 特级一级毛片免费看 | 国产精品福利在线观看免费不卡 |