API for navigation bar top to fade top area

Asked on 06/13/2025

@wwdc25

1 search

To achieve a fade effect in the top area of a navigation bar, you can utilize the new design features introduced in iOS 26. Specifically, the "scroll edge effect" is designed to create a visual treatment that ensures legibility of overlapping content in navigation bars and toolbars. This effect is automatically applied to scroll views underneath these bars, providing a graceful fade as content scrolls under the glass platters.

For more detailed guidance on implementing this effect in a UIKit app, you can refer to the session Build a UIKit app with the new design (07:19) where the new look and behavior of navigation bars and toolbars are discussed. This session covers how these elements adopt the new glass appearance and float above the content, enhancing the visual experience with the scroll edge effect.