self.tabBar.backgroundImage = [[UIImage alloc]init];
self.tabBar.shadowImage = [[UIImage alloc]init];
或者
[[UITbarBar appearance] setShadowImage:[UIImage new]];
[[UITabBar appearance]setBackgroundImage:[UIImage new]];
self.tabBar.backgroundImage = [[UIImage alloc]init];
self.tabBar.shadowImage = [[UIImage alloc]init];
或者
[[UITbarBar appearance] setShadowImage:[UIImage new]];
[[UITabBar appearance]setBackgroundImage:[UIImage new]];
本文标题:去掉tabBar的黑色分割线
本文链接:https://www.haomeiwen.com/subject/iesrettx.html
网友评论