Have a look at this image...

![enter image description here](https://i.stack.imgur.com/0csBa.png)

I want to design toolbar like this, Each UIBarButtonItem should be separated by a thin line. So I have inserted flexible space button in between each UIBarButtonItem (that helps me in aligning UIBarButtonItem while orientation changes), however if I set an image for that, its no more acting as flexible button, changes to normal UIBarbutton.

So I need an flexible space button with an image.. Any idea how to do it.
(OR)
How to design a UIToolbar like above... Any helps is really appreciated. Thanx