How do you make the "Edit" button actually work on TableViews?

Discussion in 'iOS Programming' started by ethana, Aug 11, 2008.

  1. ethana macrumors 6502a

    Joined:
    Jul 17, 2008
    Location:
    Seattle, WA
    #1
    So I added the Edit button for my TableView using the following:
    Code:
    self.navigationItem.rightBarButtonItem = self.editButtonItem
    
    When I press the button the little minus signs appear, but they don't exactly function. How I can call or tragger an actual function when the minus sign is touched?

    E
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Implement tableView:commitEditingStyle:forRowAtIndexPath:
     
  3. ethana thread starter macrumors 6502a

    Joined:
    Jul 17, 2008
    Location:
    Seattle, WA

Share This Page