Concept

fullScreenCover is used in SwiftUI to present a view modally over the entire screen.

It allows apps to:

show content across the full screen
temporarily replace visible content
present immersive modal views

Core flow:

Button / State Change → Full Screen View Presented → Dismiss

What It Does

fullScreenCover presents a new view on top of the current screen and covers everything.

Unlike a sheet:

it does not appear as a partial bottom card
it takes over the whole screen

It is useful when you want stronger focus on the presented content.


Basic Structure

.fullScreenCover(isPresented: $isPresented) {
    FullScreenView()
}

Here:

isPresented → controls presentation
FullScreenView() → content shown full screen

Using State With FullScreenCover

A fullScreenCover is usually controlled with @State.