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

时间:2011-06-17 18:16:06

标签: iphone uitableview caanimation

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

一个例子真的会有所帮助。 感谢。

1 个答案:

答案 0 :(得分:1)

你的意思是......

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

而且,"withRowAnimation“不是值,而是动画样式:您可以override

相关问题