Search code examples
iphoneobjective-cxcodeuitabbar

How to make the transparent custom tab bar?


How to make transparent custom tab bar? I set the background image is transparent image but tab bar having the black image? How to I remove the black image? Please help me. See the image.enter image description here


Solution

  • Set the TabBar's tint color to clearColor.

    [[self tabBar] setTintColor:[UIColor clearColor]];