By default, views inside Stacks in SwiftUI are positioned in the center. One of the easy methods to spread them equally is the Spacer view.
If you have for example two Text views inside VStack, they’re next to each other.
VStack {
Text(“Hello”)
.background(Color.green)
Text(“World”)
.background(Color.yellow)
}

Now, to spread them equally, you can use Spacer views to do it. You need to add them at the beginning of Stack, in the middle, and at the end.
VStack {
Spacer()
Text(“Hello”)
.background(Color.green)
Spacer()
Text(“World”)
.background(Color.yellow)
Spacer()
}

You can add Image as well, or use HStack instead of VStack.
HStack {
Spacer()
Text(“Hello”)
.background(Color.green)
Spacer()
Text(“World”)
.background(Color.yellow)
Spacer()
Image(systemName: “star”)
Spacer()
}

It’s easy method when you have simple view.