0

reloadRowsAtIndexPath:withRowAnimation を使用して行をリロードできることは知っています。組み込みのオプションではなく、行が置き換えられたときにトリガーされるアニメーションを作成するにはどうすればよいですか。

例は本当に役に立ちます。ありがとう。

4

1 に答える 1

1

もしかして ...

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

また、"withRowAnimation" は値ではなく、アニメーション スタイルです。使用できoverrideます。

于 2011-06-17T18:28:40.700 に答える