how do I know tab bar is minimised
Asked on 2025-08-26
1 search
To determine if the tab bar is minimized, you can look for specific behaviors in your app's design. In the new design for both UIKit and SwiftUI, the tab bar on iPhone can be configured to minimize on scroll. This means that as you scroll down, the tab bar will minimize, and it will re-expand when you scroll in the opposite direction. This behavior helps keep the focus on your app's content.
For UIKit, you can set the top bar minimize behavior to the desired direction, such as "onscroll down," to achieve this effect. Similarly, in SwiftUI, you can use the Tab Bar Minimize Behavior modifier to adopt this behavior.
When the tab bar is minimized, any accessory view, like a mini player in the Music app, will animate down to display in line with the tab bar. This visual cue can help you identify when the tab bar is minimized.
For more details, you can refer to the session Build a UIKit app with the new design (02:08) and Build a SwiftUI app with the new design (04:24).

Build a UIKit app with the new design
Update your UIKit app to take full advantage of the new design system. We’ll dive into key changes to tab views, split views, bars, presentations, search, and controls, and show you how to use Liquid Glass in your custom UI. To get the most out of this video, we recommend first watching “Get to know the new design system” for general design guidance.

Build a SwiftUI app with the new design
Explore the ways Liquid Glass transforms the look and feel of your app. Discover how this stunning new material enhances toolbars, controls, and app structures across platforms, providing delightful interactions and seamlessly integrating your app with the system. Learn how to adopt new APIs that can help you make the most of Liquid Glass.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.