UITableView Animation when entering Editmode

Posted by f0rz on Stack Overflow See other posts from Stack Overflow or by f0rz
Published on 2010-05-12T10:40:32Z Indexed on 2010/05/12 10:44 UTC
Read the original article Hit count: 260

Hi!

Maybe I´m just stupid but I cant understand why this isnt working. I want to achieve a little animation when I'm entering editing mode within a UITableView.

 [super setEditing:NO animated:YES];   
 [myTable setEditing:NO animated:YES];
 [myTable reloadData];
 [self.navigationItem.leftBarButtonItem setTitle:@"Edit"];
 [self.navigationItem.leftBarButtonItem setStyle:UIBarButtonItemStylePlain];

Shouldnt this animated:YES suppose to animated this entering of the editmode?

Regards.
- f0rz

© Stack Overflow or respective owner

Related posts about uitableview

Related posts about uianimation