开发者

create custom row animation to reload tableviewcell

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜