У меня есть следующий код:
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Text("ContentView Header 1")
.border(Color.green, width: 2)
Text("ContentView Header 2")
.border(Color.green, width: 2)
Image(systemName: "arrow.up")
.border(Color.green, width: 2)
Text("ContentView Footer 1")
.border(Color.green, width: 2)
}
}
}
Результат выглядит следующим образом:

Почему существует интервал вокруг изображение, а не вокруг текстов? Он исчезает, когда я явно устанавливаю интервал для VStack
.