<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ScrollViewReader/init(content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16ScrollViewReaderV7contentACyxGxAA0cD5ProxyVc_tcfc"
  },
  "title" : "init(content:)"
}
-->

# init(content:)

Creates an instance that can perform programmatic scrolling of its
child scroll views.

```
nonisolated init(@ContentBuilder content: @escaping (ScrollViewProxy) -> Content)
```

## Parameters

`content`

The reader’s content, containing one or more
scroll views. This content builder receives a [`ScrollViewProxy`](/documentation/SwiftUI/ScrollViewProxy)
instance that you use to perform scrolling.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)