当在表视图中选择单元格时,我应该能够在转到另一个视图之前为单元设置动画

时间:2010-09-04 14:42:33

标签: iphone xcode uitableview

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"];

任何机构都可以告诉我动画表格单元格的其他类型的动画。

1 个答案:

答案 0 :(得分:2)

我选择其中一个动画行,解决了我的问题......

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.