I have a UIViewController with a rightbarButton already present in the navBar
I want on certain occasion to add an other rightBarButton to the one already present…
I used the first answer of this question but it doesn’t work : it adds the new rightbarbutton but removes the first that was present before
Is there any other solution?
Please see this related post
Basically you need to use the plural form
rightBarButtonItemsinstead of the singularrightBarButtonItemto create an array of buttons.