Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道您可以使用 reloadRowsAtIndexPath:withRowAnimation 重新加载行。如何创建在替换行而不是内置选项时触发的动画。
一个例子真的很有帮助。谢谢。
你的意思是 ...
insertRowsAtIndexPaths:withRowAnimation:, deleteRowsAtIndexPaths:withRowAnimation:, insertSections:withRowAnimation: and deleteSections:withRowAnimation:
而且,"withRowAnimation" 不是一个值,而是一种动画风格:你可以override。
"withRowAnimation
override