here is my code for what I want get Justified, how could I do that?
my goal:
curent issue:
the code:
struct ContentView: View {
@State var stringOfText: String = String()
var body: some View {
Text(stringOfText).font(Font.body.bold()).padding()
Button("Justiy it!") {
stringOfText = Array(2...100).reduce("1", ({$0 + " " + String($1)}))
}
}
}


