title: how to disable scrolling of list in SwiftUI iOS?
body: <p>I have add list in my content view. Bind data in list using below code. Now i want to disable scrolling in some case and enable in some case. How can i achieve this functionality.</p>
  <p>Note: No need <code>ForEach</code> solution.</p>
  <pre><code>List(0..&lt;self.titles.count) { index in
                          HStack {
                              Image(self.titles[index]).resizable()
                                  .frame(width: 60.0, height: 60.0)
                              Text(self.titles[index])
                          }
                      }
  </code></pre>