Hi,
I believe NavigationView is not available on SwiftUI for the Watch. What would I use in its place? I have a menu list which I want to add enable each item to be pressed to move to another view.
import SwiftUI
struct ContentView : View {
var body: some View {
List {
HStack {
Image(systemName: "rectangle.on.rectangle.angled")
Text("Study")
.listRowPlatterColor(Color.gray)
.frame(height:50)
}
HStack {
Image(systemName: "star.fill")
Text("Favourites")
.listRowPlatterColor(Color.gray)
.frame(height:50)
}
HStack {
Image(systemName: "gear")
Text("Settings")
.listRowPlatterColor(Color.gray)
.frame(height:50)
}
}
.listStyle(.carousel)
}Thanks.