How do I animate a Tab View Bottom Accessory?
Asked on 06/11/2025
1 search
To animate a Tab View Bottom Accessory in a SwiftUI app, you can use the Tab View Bottom accessory
modifier. This modifier allows you to place a view above the tab bar, taking advantage of the extra space provided by the tab bar's collapsing behavior. Here's a brief overview of how you can implement this:
-
Place a View Above the Tab Bar: Use the
Tab View Bottom accessory
modifier to place your accessory view above the tab bar. -
Read the Accessory Placement: Inside your accessory view, read the Tab View button accessory placement from the environment.
-
Adjust Content on Collapse: Adjust the content of your accessory when it collapses into the Tab bar area.
For more detailed guidance, you can refer to the session Build a SwiftUI app with the new design (05:35) where this topic is discussed.

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.

Enhance your UI animations and transitions
Explore how to adopt the zoom transition in navigation and presentations to increase the sense of continuity in your app, and learn how to animate UIKit views with SwiftUI animations to make it easier to build animations that feel continuous.