如何隐藏tabar上方的线条?

 

如果tabar中设置的button高于tabar上方的分割线需要设置下方两项,缺一不可

[[UITabBar appearance] setBackgroundImage:[[UIImage alloc] init]];

[[UITabBar appearance] setShadowImage:[[UIImage alloc] init]];

若低于分割线也可设置ClipToBounds 来完成

posted @ 2015-12-14 14:45  木易的博客  阅读(267)  评论(0编辑  收藏  举报