I have CustomImage UIButtons as my UIBarButtonItems. The way the Graphic designer made the Images, they are made to butt up against each other and not have a 10px or so gap between them. Is there a way to remove the gap between the UIBarButtonItems when adding them to the UIToolBar?
Thanks
So Fiddling around, I was able to get something to work. Though I’m not 100% sure I understand why. If I pass in an Image that is wide, (Greater than 15+px) it works fine, through if I put in an Image that is 1px wide, I cannot get it to work. What I’m looking for is something like:
Though I didn’t want to create the Images with the
|in them, so I have a Image that is just the|separator. When adding that Button, I cannot get the gap between them to close. I fiddled with the frame and Inset values to no avail.This is what I have for the wider buttons: