I would like 2 leftBarButtonItems, but leave one of the items as the default back button for Navigation Controllers. I have set up:
self.navigationItem.leftBarButtonItems = [NSArray arrayWithObjects:archives, ???, nil];
where archives is a UIBarButtonItem I created, but do not know what the default back button is to include in the array. Any suggestions?
Make sure you set leftItemsSupplementBackButton
to YES.
self.navigationItem.leftItemsSupplementBackButton = YES;
self.navigationItem.leftBarButtonItems = [NSArray arrayWithObjects:archives, nil];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With