1

アニメーションがいつ終了したかを確認するにはどうすればよいですか。

私はこの方法を使用します:

[self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:2 inSection:0]] withRowAnimation:UITableViewRowAnimationNone];

皆さんありがとう!

4

1 に答える 1

1

アニメーション クラス リファレンスへのリンクは次のとおりです。機能だと思います

-(void)animationDidStop:(CAAnimation *)theAnimation finished:(BOOL)flag

あなたが探しているものです。

于 2012-05-28T08:55:18.073 に答える