Add a UIBarButtonItem next to UINavigation Back button

ios, objective-c, uinavigationcontroller

Solution

UIBarButtonItem *home = [[UIBarButtonItem alloc]initWithTitle:@"Home" style:UIBarButtonItemStyleBordered target:self action:@selector(HomePressed:)];
self.navigationItem.leftItemsSupplementBackButton = YES;
self.navigationItem.leftBarButtonItems = [NSArray arrayWithObjects:home, nil];

this code works for me, the back buttom UI didn't change. you would need to implement HomePressed:

Problem

I want to add/show a button/custom view next to default back button. So it would look like this < BACK | HOME I want to preserve the default look and feel of back button. Thanks in advance.

Original source