I am trying to align left text in Text component in Swift UI.
As you can see on above image I applied with below code but does not work. Anything missing?
Text(titleSring).frame(alignment: .trailing).background(Color.red)
I am trying to align left text in Text component in Swift UI.
As you can see on above image I applied with below code but does not work. Anything missing?
Text(titleSring).frame(alignment: .trailing).background(Color.red)