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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top