title: push view after 2 seconds in swiftui
body: <p>how to push a view after x seconds in swiftUI without any interaction?</p>
  
  <pre><code> NavigationView{
              .onAppear {
                  DispatchQueue.main.asyncAfter(deadline: .now()+1.0) {
                      NavigationLink(destination: pageViewUi()) {
                          EmptyView()
                      }
                  }
              }
  }
  </code></pre>