Reputation: 859
I have UITableViewController with navigation bar. In viewDidLoad I added edit button:
self.navigationItem.rightBarButtonItem = self.editButtonItem()
How can I show dialog before edit mode enabled? In what place can I do it?
Upvotes: 1
Views: 563
Reputation: 780
you can use the method
- (void)setEditing:(BOOL)editing animated:(BOOL)animated
This method will be called when you click on edit button. Now you can put your functionality inside this method.
Upvotes: 1