viewID(type:)
The id of the view positioned in the scroll view if configured to be in that position or the user has scrolled past a view with an id of matching type.
Declaration
func viewID<T>(type: T.Type) -> T? where T : Hashable, T : SendableThe id of the view positioned in the scroll view if configured to be in that position or the user has scrolled past a view with an id of matching type.
func viewID<T>(type: T.Type) -> T? where T : Hashable, T : Sendable