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.
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.
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.
Code Block 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.