Once created, the UIBarButtonItem identifier cannot be changed. However, the user interface can be changed by replacing the button with a software-built option. For example:
UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd
target:self
action:@selector(doAddAction:)];
source
share