To align a text to the leading in SwiftUI, you can use the .multilineTextAlignment(.leading)
modifier. Here's an example:
main.swift166 chars10 lines
In this example, the text "Hello, Leading Alignment!" will be aligned to the leading.
gistlibby LogSnag