Thanks for the clarification.
Just to confirm my understanding: on watchOS, when using Section(_:isExpanded:content:), there’s no built-in tap gesture or disclosure indicator in the header. So while the section responds to changes in isExpanded, it’s up to the developer to provide a custom control (e.g. a Button in the header) to actually toggle that state. Is that correct?
If so, I’ll go ahead and file an enhancement request. It would be helpful if watchOS offered consistent behavior with iOS here, especially for common use cases like collapsible settings or lists and the fact that DisclosureGroup is not available on watchOS.
Thanks again for the quick reply.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: