try this:struct YourViewName: View {
@State var content = ""
var body: some View {
ScrollView {
VStack {
Text(content)
.lineLimit(nil)
}.frame(maxWidth: .infinity)
}
}
}