title: SwiftUI Push View with NavigationLink from modal view
body: <p>I present a modal view with <code>fullScreenCover</code> by pressing &quot;present my modal&quot; button:</p>
  <pre><code>struct ContentView: View {
  
      @State var presentMyModal = false
  
      var body: some View {
          Text(&quot;Hello, world!&quot;)
              .fullScreenCover(isPresented: $presentMyModal) {
                      MyModalView()
              }
          Button(action: { presentMyModal = true },
                 label: { Text(&quot;present my modal&quot;)})
      }
  }
  </code></pre>
  <p>Then I want to push a new view with <code>NavigationLink</code> from this modal:</p>
  <pre><code>struct MyAlertView: View {
  
      @State var pushNavigationLinkedView = false
  
      var body: some View {
          Text(&quot;MyAlertView&quot;)
              .padding()
          Button(action: { pushNavigationLinkedView = true },
                 label: { Text(&quot;push navigation linked view&quot;)})
  
          NavigationLink(destination: NavigationLinkedView(),
                         isActive: $pushNavigationLinkedView) {
              EmptyView()
          }
      }
  }
  </code></pre>
  <p>And here is my <code>NavigationLinkedView</code> :</p>
  <pre><code>struct NavigationLinkedView: View {
      var body: some View {
          Text(&quot;NavigationLinkedView&quot;)
              .padding()
      }
  }
  </code></pre>
  <p>But nothing happens when I press &quot;push navigation linked view&quot; button.</p>
  <p>So is it allowed by apple guideline to push a view with <code>NavigationLink</code> from a modal view ? If yes, what is the best way to do it ?</p>
  <p>Tested on iOS15 and XCode 13</p>