进入Editmode时的UITableView动画

f0r*_*0rz 3 iphone cocoa-touch uitableview uianimation

也许我只是愚蠢但我不明白为什么这不起作用.当我在UITableView中进入编辑模式时,我想实现一点动画.

 [super setEditing:NO animated:YES];   
 [myTable setEditing:NO animated:YES];
 [myTable reloadData];
 [self.navigationItem.leftBarButtonItem setTitle:@"Edit"];
 [self.navigationItem.leftBarButtonItem setStyle:UIBarButtonItemStylePlain];
Run Code Online (Sandbox Code Playgroud)

不应该动画:是的,假设动画这个编辑模式的输入?

问候.
- f0rz

f0r*_*0rz 13

解决方案,我正在重新加载tableview.这让动画停止了.
删除了[myTable reloadData]并再次运行了!