@DTS Engineer it definitely is a bug! And the thing is: the sample code is in your own documentation!
I tried to append a sample project, but ZIP files (!) are NOT SUPPORTED as attachments?! WHAT?!
You find the sample code to try yourself here: https://developer.apple.com/documentation/swiftui/table#Using-tables-on-different-platforms
It says:
Regular size class environments on iPadOS, visionOS, and the inner display of iPhone Duo will display headers and all of the columns in the table
Just create an empty App project and copy that code in there...
I'm sorry, but I am really mad about this: asking for a sample project and then not allow ZIPs to be attached! Get your things together, please! And I can't add a link, even though there is the button for it!!
Here's your sample project: https://www.icloud.com/iclouddrive/07fRrL6wNgfzodqdidwUc8bDQ
@DTS Engineer I know it's not your fault, I am really sorry about my mood here. But: you're really making it hard to help
Topic:
UI Frameworks
SubTopic:
SwiftUI