I added an instance of UIToolbar and a button on top of it. Each button belongs to the UIBarButtonItem class.
My requirement is that each button has an individual layout, I don’t want to use my own button styles provided by Apple. Therefore, I had 3 options in Interface Builder (Plain, Bordered, Done). I chose the Plain style and selected the image that I want to add as a backgroun in the "Bar" → Image.
But this did not work for me, using the simple option, it brings me a little closer to the border, and everything is done no closer, but still it displays images in a white outline. Is there anyway that the images on the buttons are added and they look exactly the way they are. This is a fairly simple task when using UIButton. I just used the "Image" parameter in the "Attributes" inspector for UIButton and select the image I want. But here, using the UIBarButtonitem, it doesn't work at all. This is how it displays

Thanks Teymur
source
share