How can I add new button in navigationItem? Say I need to add it near right button.
Code used for left right.
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:_cancelButton];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:_shareButton];
How can I add one more button?
Try this. It worked for me.
you can add more buttons
same for right buttons
Middle Button
Right Bar Button
Left Bar button
Output
There are Different Approach to add more then one Buttons on right side of navigationcontroller.one of the Simplist way is given below
Hope it will be helpful for you.Thanks