i have loaded a custom back button with [uibarbutton appearance] but i dont know how to alter the text on the custom image. The code:
- (void)viewDidLoad
{
[super viewDidLoad];
[[UIBarButtonItem appearance] setBackButtonBackgroundImage:[UIImageimageNamed:@"someimage.png"] forState:UIControlStateNormal barMetrics:UIBarMetricsDefault];
}
not required to set title or text for it, navigation system of
iosit does itself, only you have to assign your custom button to navigation bar’sbackbutton