texto central swiftui
.multilineTextAlignment(.center)
Mobile Star
.multilineTextAlignment(.center)
.multilineTextAlignment(.center)
//From SwiftUI beta 3 forward, you can center a text view with the frame modifier:
Text("Centered")
.frame(maxWidth: .infinity, alignment: .center)