隐藏导航栏底部黑线

  • (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [UINavigationBar appearance].translucent = NO;

    self.navigationController.navigationBar.subviews[0].subviews[0].hidden = YES;
    }

你可能感兴趣的:(隐藏导航栏底部黑线)