Here is the snapshot:
And the code is here:
UIButton *leftButton =
You need to create a UIBarButtonItem
with system item UIBarButtonSystemItemFixedSpace
with -5 width which will remove 5 px
padding. Then set leftBarButtonItems
with both fixed space item and your back bar item like this -
UIBarButtonItem *negativeSpacer = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];
[negativeSpacer setWidth:-5];
self.navigationItem.leftBarButtonItems = [NSArray arrayWithObjects:negativeSpacer,leftBarItem,nil];