I have a UIView above my UITabBar that will be able to show and disappear. The View is added as a SubView in the UITabBarController's View. I want to change the Bottom Layout Guide depending on the View's state.
Example: When the View is hidden, the Bottom Layout Guide is animated to the TabBarController's default. When the View is visible, the Bottom Layout Guide animates to the TabBar's height + the height of the View above the TabBar.
How can I achieve that?