I have added an instance of UIToolbar and buttons on top of it . Each button\'s belongs to the class of UIBarButtonItem.
My Requirement is that each button has a customi
The problem here is, that UIBarButtonItem is not a UIView-Subclass. I had the same problem too and the solution is quite trivial:
Create a UIButton Object with your custom background image, afterwards create an instance of a UIBarButtonItem using its initWithCustomView:
method and passing your UIButton object as a parameter.
Hope I could help you.