I've been experimenting with SwiftUI and couldn't figure out how to get a simple UIToolbar to appear at the bottom of the screen.
Basic view:
struct MyView : View {
var body: some View {
NavigationView {
List {
NavigationButton(destination: Text("1")) {
Text("Element 1")
}
// ...
}.navigationBarTitle(Text("Elements"))
}
}
}