gpt4 book ai didi

iphone - 当在 TableView 中选择单元格时,我应该能够在进入另一个 View 之前为单元格设置动画

转载 作者:行者123 更新时间:2023-12-03 21:10:26 25 4
gpt4 key购买 nike

CATransition *animation = [CATransition animation];
animation.type = @"suckEffect";
animation.duration = 1.0f;
animation.delegate = self;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
[[tableView cellForRowAtIndexPath:indexPath].layer addAnimation:animation forKey:@"transitionViewAnimation"];

任何人都可以告诉我还有哪些其他类型的动画可以为表格单元格设置动画。

最佳答案

我选择其中之一来对行进行动画处理,这解决了我的问题....

pageCurl, 
pageUnCurl,
suckEffect,
spewEffect,
cameraIris (from the Photos application),
cameraIrisHollowOpen,
cameraIrisHollowClose,
genieEffect (typically used for deleting garbage),
unGenieEffect,
rippleEffect,
twist,
tubey,
swirl,
charminUltra,
zoomyIn,
zoomyOut,
oglFlip.

关于iphone - 当在 TableView 中选择单元格时,我应该能够在进入另一个 View 之前为单元格设置动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3642720/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com