cocoa touch – Couldn’t UIToolBar be transparent? – Stack Overflowに書いてあった。 そのtoolbarクラスのinitの中で、 self.opaque = NO; self.translucent = YES; self.backgroundColor = [UIColor clearColor]; して、中身はなくていいので drawRect を設置する。backgroundColorを有効にするのに必要らしい。 – (void)drawRect:(CGRect)rect { // do nothing in here } これだけ。
![カスタムToolbarの背景を透明にする](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)