Search code examples
iostabbar

Tabbar Bar changes once user clicks


I have toolbar implemented in my application. Whenever user clicks on the tabbar, tabbar's alpha value changes. Is there a way to fix it ? Why does it give this error. Before and after click on the tabbar figures attached

enter image description here

enter image description here


Solution

  • It's probably not the tab bar that's changing, but rather the view beneath it. Tab bars in iOS 7 are typically semi-transparent, so the view controller's view influences its appearance.

    Consider setting the tab bar's translucent property to NO to make the bar opaque.