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
Solution, I was reloading the tableview . This was making the animation to stop.
Removed [myTable reloadData] and it worked again!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With