设置为不透明就行了。[[UITabBar appearance] setTranslucent:NO]; Swift 中: UITabBar.appearance().isTranslucent = false 相关文章: 2022-12-23 2021-07-30 2022-12-23 2022-12-23 2021-06-21 2022-12-23 2022-12-23