Post

Replies

Boosts

Views

Activity

Lists with sections broken on macOS Big Sur apps
Hi, All the Lists I was developed in my app that was using Sections appears totally broken after update my project to Xcode 12 and macOS Big Sur for macOS apps. struct ContentView: View {     var body: some View {         List {             Section(header: Text("Important tasks")) {                 Text("Helloworld1")                 Text("Helloworld2")             }             Section(header: Text("Other tasks")) {                 Text("Helloworld3")                 Text("Helloworld4")             }         }     } } This code works fine on iOS projects, but not in macOS projects. In macOS the section contents doesn't appear neither the preview nor app execution. Could be a bug or I'm missing something building sectioned lists? Thanks in advance.
6
0
1.4k
Jun ’20