How to get text to wrap around in a ScrollView in SwiftUI

As of this posting I was having a problem with an Apple Watch app I was trying to make using SwiftUI. The problem was text was not wrapping around my view that was nested in a ScrollView and VStack. I found that by adding these modifiers to your text will giving you multiple lines for text! Happy Coding!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s