Expo UI and Router for iOS
Modifiers

presentationBackground

Sets the background of a sheet presentation. Paints the entire sheet chrome including the drag-indicator zone and home-indicator safe-area inset, which a regular background() modifier cannot reach.

presentationBackground(color)

iOS 16.4+
ParameterTypeDescription
colorstringThe background color (hex string). For example, #FF0000.

Sets the background of a sheet presentation. Paints the entire sheet chrome including the drag-indicator zone and home-indicator safe-area inset, which a regular background() modifier cannot reach.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Sources

The original Expo docs for this page:

On this page