SwiftUI + List + auto scroll to end

I have an iOS app using SwiftUI with a List, which shows logLines.
When a new line appears (usually from Network, not user interaction) I want the List to automatically scroll down, so that this new line is visible at the bottom.
How can I do this?

1 Like

@gerriet, Use Custom Scroll View with its axes set to vertical and add on change event on your view height.