Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 创建自定义行动画以重新加载tableviewcell_Iphone_Uitableview_Caanimation - Fatal编程技术网

Iphone 创建自定义行动画以重新加载tableviewcell

Iphone 创建自定义行动画以重新加载tableviewcell,iphone,uitableview,caanimation,Iphone,Uitableview,Caanimation,我知道可以使用reloadRowsAtIndexPath:withRowAnimation重新加载行。 如何创建在替换行而不是替换内置选项时触发的动画 举个例子会很有帮助。 谢谢。你是说 insertRowsAtIndexPaths:withRowAnimation:, deleteRowsAtIndexPaths:withRowAnimation:, insertSections:withRowAnimation: and deleteSections:withRowAnimation:

我知道可以使用reloadRowsAtIndexPath:withRowAnimation重新加载行。 如何创建在替换行而不是替换内置选项时触发的动画

举个例子会很有帮助。 谢谢。

你是说

insertRowsAtIndexPaths:withRowAnimation:, 
deleteRowsAtIndexPaths:withRowAnimation:, 
insertSections:withRowAnimation: and 
deleteSections:withRowAnimation:

而且,
“withRowAnimation
”不是一个值,而是一种动画样式:您可以
覆盖它

“行被替换了”是什么意思?是的,这很有效。虽然我在想一些用核心动画制作的东西。但很好,我设法使用内置选项。