Reputation: 9722
I have 4 buttons in my navigation bar, but apparently the right one is too close to the side and the popover is not displaying correctly for it.
Is there a way to add some extra spacing to the right side? Like an empty button? If an empty button is the solution then I know how to do it, just not sure if this is a right way to do it.
Upvotes: 0
Views: 1218
Reputation: 2218
Place UIBarButtonItem between the specified place. Then go to Inspector of your xib, then go Attribute, select Flexible space option in Identifier option.
Upvotes: 0
Reputation: 2554
Take a look at this other Stack Overflow artcile about adding flexible space:
How to create fixed space and flexible space bar button items programmatically?
Upvotes: 0