I implemented a custom UITabBar and I still have this gradient/shadow on top of it. I added
[self.tabBar setBackgroundImage:[UIImage imageNamed:@"navBarBottom.png"]];
which is just changing the background but keeping the shadow gradient.
What am I doing wrong ? Is there anything to specify to get rid of it ?
What I have :
What I want :
Thank you.
Try setting a 1x1 pixel transparent shadow image for the UITabBar:
[[UITabBar appearance] setShadowImage:[UIImage imageNamed:@"transparentShadow.png"]];