scrollTargetBehavior

Asked on 06/17/2025

1 search

The term "scrollTargetBehavior" is mentioned in the context of the session titled "Migrate your TVML app to SwiftUI" from WWDC 2024. In this session, the scroll target behavior is set to be view-aligned to help make transitions more definite when the header section scrolls off-screen. This is part of a demonstration on how to use new ScrollView modifiers in tvOS 18 to enhance the user interface.

For more details, you can refer to the session Migrate your TVML app to SwiftUI (10:07).