Avocado - Hey, yeah, I wasn't sure what to put for the @selector ... so, say I just do this instead:
Code:
UIBarButtonItem *newUndoButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemUndo target:self action:@selector(addToFav)];
Still doesn't work ..
As for the leak, yeah I should release in dealloc.