How to programmatically get a tableview out of edit mode

Discussion in 'iOS Programming' started by beachdog, Nov 11, 2008.

  1. beachdog macrumors member

    Aug 10, 2008
    I have a tableview controller which responds to the Edit button on my nav controller by setting up the ability to select multiple cells and then act on them (delete, move) etc. This is similar to how the email app works, as an example. What I want to do, is that after the user performs the operation -- say, deleting three cells -- I want to automatically end edit mode. That is, I don't want the user to have to click the Done button, I want it to automatically happen. Not sure how to do this, any help?
  2. fenrus110 macrumors regular

    Mar 24, 2008
  3. Niiro13 macrumors 68000

    Feb 12, 2008
    I like:

    [self.tableView setEditing:NO animated:YES];
  4. beachdog thread starter macrumors member

    Aug 10, 2008

Share This Page