Creates programatic scrolling by ascribing a child defined as a function of a ScrollViewProxy.¶
@frozen struct ScrollViewReader<Content> : View where Content : View
body The content and behavior of the view.
content A ViewBuilder closure that receives the ScrollViewProxy as a parameter
init(content:) Initializes with the closure content. The proxy passed to the closure may NOT be messaged while content is executing (this will cause a runtime error) but only from actions created within content such as gesture handlers or the onChange() function.
Body The type of view representing the body of this view.