Swiftui, Swift, iOS App Development, iOS Development, iOS.
a view. The scrollTo method of ScrollViewProxy uses this value to find the corresponding view. Additionally, if the id identifier value changes, SwiftUI will discard the original view (terminate its lifecycle and reset its state) and recreate a new view. When only specifying display identifiers