I’m new to Swift, and I’m currently developing an application. When I run the code I get a tab on the left of the screen with a title and a list. This tab can be closed. On the right side of this tab there is a blank space. I was wondering how I could add a title and buttons in that space?
The code I’m using:
`import SwiftUI
struct ContentView: View {
var body: some View {
NavigationView {
List {
Text("Text")
}
.navigationTitle("Text")
}
}
}