如何解决此标签标签未完全显示的问题?
截图问题:
[![在此处输入图像描述][1]][1]
当我在新项目中尝试时,标签栏的标签显示正常,但在我现在工作的项目中,标签栏的标签没有完全显示,请帮助我,这个有什么问题
settings.style.buttonBarBackgroundColor = .white
settings.style.buttonBarItemBackgroundColor = .white
settings.style.selectedBarBackgroundColor = blueInstagramColor
settings.style.buttonBarItemFont = .boldSystemFont(ofSize: 14)
settings.style.selectedBarHeight = 2.0
settings.style.buttonBarMinimumLineSpacing = 0
settings.style.buttonBarItemTitleColor = .black
settings.style.buttonBarItemsShouldFillAvailableWidth = true
settings.style.buttonBarLeftContentInset = 0
settings.style.buttonBarRightContentInset = 0
changeCurrentIndexProgressive = { [weak self] (oldCell: ButtonBarViewCell?, newCell: ButtonBarViewCell?, progressPercentage: CGFloat, changeCurrentIndex: Bool, animated: Bool) -> Void in
guard changeCurrentIndex == true else { return }
oldCell?.label.textColor = .black
newCell?.label.textColor = self?.blueInstagramColor
}
super.viewDidLoad()
backListener()
}
override func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController] {
let child_1 = LeaveWaitingViewController()
let child_2 = LeaveApprovedViewController()
let child_3 = LeaveRejectedViewController()
return [child_1, child_2, child_3]
}
[1]: https://i.stack.imgur.com/UBrLy.png