设置为不透明就行了。
[[UITabBar appearance] setTranslucent:NO];

 

Swift 中:

UITabBar.appearance().isTranslucent = false

相关文章: