I have a UIToolbar that has a white tint, with a bar button item, followed by some flexible space, followed by another bar button item. I would like to make the toolbar complete
Subclass UIToolbar, and implement the below method:
- (void)drawRect:(CGRect)rect { [[UIColor colorWithWhite:0 alpha:0.6f] set]; // or clearColor etc CGContextFillRect(UIGraphicsGetCurrentContext(), rect); }
see more details here