-1

When using the List View in SwiftUI, it doesn´t render properly. When using the simulator, it works just fine, so I only get the behavior when using on device testing.

Has anyone else seen this and knows how to fix it?

This is the behavior I get

Btw I´m totally new to this, so please be nice ;)

  • 4
    [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) – Asperi Jul 23 '20 at 08:27

1 Answers1

0

I suspect you just need to add a listStyle to your list. For example

List {
   ...
}.listStyle(InsetGroupedListStyle())
youjin
  • 2,147
  • 1
  • 12
  • 29