开发者

create custom row animation to reload tableviewcell

开发者 https://www.devze.com 2023-03-13 14:44 出处:网络
I know you can reload rows using reloadRowsAtIndexPath:withRowAnimation. how can you create an animation that is triggered when the row is replaced instead of the built in options.

I know you can reload rows using reloadRowsAtIndexPath:withRowAnimation. how can you create an animation that is triggered when the row is replaced instead of the built in options.

an example would r开发者_运维百科eally help. Thanks.


Did you mean ...

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

And also, the "withRowAnimation" is not a value, but an animation style: You can override it.

0

精彩评论

暂无评论...
验证码 换一张
取 消