Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SwiftUI: How to Pop to TabView From NavigationView #4
// MARK:- View 2
struct View2: View {
@EnvironmentObject var appState: AppState
var body: some View {
VStack {
Text("View 2")
Button(action: {
// FIXME:- add move to dashboard functionality
}) {
Text("Move to Dashboard")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment