How to programmatically scroll list SwiftUI ?

iOS14 * if we want to scroll the List programmatically in iOS We can use scrollTo(.. function where we can pass the specific index for jump to the List. for example if we need to scroll to last of list we can use customArray.endIndex – 1likewise you can pass your desired index for example 4,5 …

How to programmatically scroll list SwiftUI ? Read More »