if UIDevice.current.userInterfaceIdiom == .phone && UIScreen.main.nativeBounds.size.height == 2436 {
var containerVC = YSLContainerViewController(controllers: [controller1, controller2, controller3, controller4, controller5, controller6, controller7], topBarHeight: 276, parentViewController: self)
containerVC.delegate = self
containerVC.menuItemFont = UIFont(name: ".SFUIText-Medium", size: 11)
view.addSubview(containerVC.view)
}
Надеюсь, это поможет.