I am having a problem with the spacing of my button on my UIToolbar look at this images:
Here is my current out put it’s a UIButton on a UIBarButtonItem and it’s not the desired spacing that i am trying to do, i just set it on its nib file and they can’t get any closer to each other.

and here is the output that i want.

Do you how can i set the spacing? by code or by its nib file?
thanks in advance!
If you are using .xib file then you can use “Flexible space bar button Item or fixed space bar button item”
by using these between your toolbar items you can assign the space between them..
Its pretty handy and works good