how do I minimize the new tabbar on scroll?

Asked on 06/11/2025

@wwdc25

1 search

To minimize the new tab bar on scroll in your app, you can use the new design features introduced by Apple. For a UIKit app, you can set the top bar minimize behavior to the desired direction, such as "onscroll down." This will allow the tab bar to minimize when scrolling down and re-expand when scrolling in the opposite direction. You can find more details in the session Build a UIKit app with the new design.

For a SwiftUI app, you can adopt this behavior using the Tab Bar Minimize Behavior modifier. This allows the tab bar to minimize on scroll, keeping the focus on your app's content. More information can be found in the session Build a SwiftUI app with the new design.