I have a List that contains rows with children in a sidebar. It generates the proper disclosure groups, but the issue that by default, on macOS, the groups are expanded, which is what I want.
On iOS, they're closed by default.
Is there a way to have them expanded by default?
On iOS, they're closed by default.
Is there a way to have them expanded by default?
Code Block swift List(viewModel.hierarchicalRows, children: \.children) { element in self.rowView(for: element) }