title: SwiftUI NavigationView collapse on scroll
body: <p>How do I get the NavigationBar to collapse from <code>large</code> to <code>inline</code> when I scroll? Right now the <code>ScrollView</code> is scrolling it's content beneath the <code>NavigationBar</code>'s title, but in front of the back button.</p>
  
  <pre><code>    var body: some View {
          NavigationView {
              ScrollView {
                  VStack {
                      ForEach(0...5) { _ in
                          ExerciseView()
                      }
                  }
                  .padding()
              }
          }
          .navigationBarTitle("Testing", displayMode: .automatic)
  </code></pre>