I have a UIViewController class, with a tableView. In viewDidLoad:
UIBarButtonItem *editIcon = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem: UIBarButton
You sure callsArray is not empty ?
callsArray
Place a breakpoint inside toggleEditMode and see what happens there.
toggleEditMode
Edit
Ok, after understanding your question, have a look at this thread