uitabbarController tababr 上方横线隐藏

在自定义的tabbarController里加上这一句就ok

[[UITabBar appearancesetShadowImage:[UIImage new]];

 

[[UITabBar appearancesetBackgroundImage:[[UIImage alloc]init]];

 

原文地址:https://www.cnblogs.com/wujie123/p/6108368.html