As a designer, I want to know what modals are for
Asked on 08/03/2024
1 search
Modals in SwiftUI are a type of presentation that allows you to display content over the current view, often used for tasks that require user interaction before returning to the main interface. They can be implemented using various presentation styles such as sheets and inspectors.
For a detailed overview of presentations in SwiftUI, including modals, you can refer to the session SwiftUI essentials at the "Built-in capability" chapter.
Relevant Sessions
- SwiftUI essentials
- What’s new in SwiftUI - Fresh apps: Presentation sizing
These sessions cover the fundamentals and new features in SwiftUI, including how to use and customize various types of presentations.

Migrate your TVML app to SwiftUI
SwiftUI helps you build great apps on all Apple platforms and is the preferred toolkit for bringing your content into the living room with tvOS 18. Learn how to use SwiftUI to create familiar layouts and controls from TVMLKit, and get tips and best practices.

SwiftUI essentials
Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

Extend your app’s controls across the system
Bring your app’s controls to Control Center, the Lock Screen, and beyond. Learn how you can use WidgetKit to extend your app’s controls to the system experience. We’ll cover how you can to build a control, tailor its appearance, and make it configurable.