Hey guys, im trying to change the NavBars's back button.I want to keep the default text and just change the actual button.
Ive been able to change the back button's image but this doesnt help me because the actual button is either plain/bordered/done ect.
I want to keep the default text because it needs to show up for navigational purposes.
How can I change the button?
Im using this code to change the image if it helps???? :
Code:
NSString *backgroundImagePath = [[NSBundle mainBundle] pathForResource:@"Test" ofType:@"png"];
UIImage *backgroundImage = [UIImage imageWithContentsOfFile:backgroundImagePath];
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithImage:backgroundImage style:UIBarButtonItemStyleBordered target: nil action: nil];
self.navigationItem.backBarButtonItem = backButton;
[backButton release]
Ive tried searching and have come up short of anything that I understand.
Help anyone?