- (void)viewDidLoad {
    [super viewDidLoad];
    // 去掉顶部的黑线
    self.tabBar.backgroundImage = [UIImage imageWithColor:[UIColor clearColor]];
    [self.tabBar setShadowImage:[UIImage imageWithColor:[UIColor clearColor] size:CGSizeMake(kScreenWidth, 0.5)]];

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-12-16
  • 2021-12-16
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-04
  • 2022-12-23
  • 2021-11-05
  • 2021-12-21
  • 2022-12-23
相关资源
相似解决方案