Transparent UIToolbar

前端 未结 7 957
鱼传尺愫
鱼传尺愫 2021-02-14 19:29

I wrote the following code to make my toolbar transparent.

[mtoolbar setBackgroundColor:[UIColor clearColor]];

How do I make UIToolbar

7条回答
  •  一生所求
    2021-02-14 19:53

    for (UIView * sv in [toolBar subviews])
    {
         [sv removeFromSuperview];
    }
    

    ;) any iOs

提交回复
热议问题