0

I am creating tableview kind of UI using List in SwiftUI. I am trying to achieve below things but couldn’t found solution

  1. How to remove leading spacing in List (so that row separator will expand full width)?
  2. How to disable bouncing effect on scroll?

Thank you for help.

enter image description here

 var names = ["Apple", "Ball", "Cat", "Dog","Egg", "Fox"]
 List(names, id:\.self) {
          Text($0)
      }
Rahul
  • 537
  • 1
  • 7
  • 19

0 Answers0