Many apps contain lots of information such as names and addresses. However, you may not want to view all stored information at once to avoid cluttering up the screen. When you want to give users the option of selectively hiding or displaying information, that’s when you can use a Disclosure Group or an Outline Group.
15. Using Disclosure Groups, Scroll Views, and Outline Groups
Get Beginning iPhone Development with SwiftUI: Exploring the iOS SDK now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.