I would like to have more than a single UIBarButtonItem
on the right side of my UINavigationBar
. How can I achieve this?
An example of what I am trying are shown below - you can notice that the top right has more than one button.
I would like to have more than a single UIBarButtonItem
on the right side of my UINavigationBar
. How can I achieve this?
An example of what I am trying are shown below - you can notice that the top right has more than one button.
This is may be help for you in objective-c,
I think nothing of the above is going to work
Try this
You have to use navigationItem.setRightBarButtonItems and be carefull. navigationItem has to be of a view controller.
Simply add this code:
This is the result:
In Swift 3 you can use:
Use this in swift:
Write the action functions like this: