In my table view controller there is
self.navigationItem.leftBarButtonItem = self.editButtonItem;
which produces a regular edit/done button at
for those who are still interesed in this question (or answer :P)
UITableView API
revealed that there is a - (void)setEditing:(BOOL)editing animated:(BOOL)animate
method
these method is called every time this edit/done button is pressed. you have to simply check by the (BOOL)editing
parameter wich one was used. last but not least you have to call the proper method from the originally edit/done button.
simply add this method to your uitableview class
- (void)setEditing:(BOOL)editing animated:(BOOL)animate
{
[super setEditing:editing animated:animate];
if(editing)
{
NSLog(@"editMode on");
}
else
{
NSLog(@"Done leave editmode");
}
}