Apple TV SwiftUI layouts

Browse available Apple TV SwiftUI screenshots, code, and Apple documentation as new previews are published.

Sheet

Page Screen Sheet Size

On devices smaller than a page of paper, such as iPhone, Apple Watch, and 8" or 11" iPads, the sheet fills the entire height and, unlike the default sheet on iPad, the full width. On macOS, .page behaves like .fitted.

Explore Page Screen Sheet Size on Apple TV, with SwiftUI code and Apple API documentation.

@State var showSheet = true

var body: some View {
    Text("Foo")
        .sheet(isPresented: $showSheet) {
            sheetContent
                .presentationSizing(.page)
        }
}
iOS 18.0+ iPadOS 18.0+ macOS 15.0+ watchOS 11.0+ tvOS 18.0+ visionOS 2.0+

Every available Apple TV screenshot for Page Screen Sheet Size.

1 views