0PricingLogin
SwiftUI Academy · Lesson

Multiline Text & Alignment

Control line limits, wrapping, and text alignment.

When Text Gets Long

Short labels fit on one line, but paragraphs wrap. This lesson shows how to control wrapping, line limits, and alignment for longer text. 📝

Text Wraps by Default

SwiftUI wraps long text onto multiple lines automatically when there is room. You usually do not need to do anything for basic wrapping.

Text("A fairly long sentence that will wrap onto more than one line.")

All lessons in this course

  1. Fonts, Weight & Color
  2. Multiline Text & Alignment
  3. Loading Images from Assets
  4. Using SF Symbols
← Back to SwiftUI Academy