• Carola Nitz's avatar
    AppDelegate: Change viewController hierachy to fix wrong frame of miniplayerView · 1b4747e4
    Carola Nitz authored
    When you add a childViewConroller to a UITabbarcontroller it will keep them in the viewControllers.
    by setting the viewControllers on the tabbarcontroller later we removed the childViewController which led to that Controller
    not getting any updates like willTransitionToSize. Simply appending the other viewcontrollers would show the player as additional tab
    We now have plain UiViewController with tabbarController and PlayerController as ChildViewControllers to fix this layout issue
    1b4747e4
AppCoordinator.swift 2.24 KB