Hey Artem & Avocado -
Probably the fact I'm still learning that I'm totally making this a bigger problem than it should be here:
Here's the method that I'm trying to change the UIBarButton in:
Code:
- (IBAction)addToFav:(id)sender
{
NSLog(@"Add Button Pressed");
addButton.enabled = FALSE;
....HERE....
[self insertIntoDB:[NSString stringWithFormat:@"..."]];
}
Currently, I'm just setting the add button to disabled. But what I want to do is make it (create in its place, etc) an 'Undo' button. If they select the 'Undo' button, it should then go back to an 'Add' button.
Also, here's a picture of the controller I'm working with:
http://mr-sk.com/iphone/controller.png
Thanks - much appreciated.
- sk
**EDIT** Artem, I tried what you mentioned, but could not get it to work. I think its an issue with me being confused on exactly the syntax/names of the controllers VS what you've provided...any assistance is greatly appreciated.