Contents

enabled(upThrough:)

People can interact with the view behind a presentation up through a specified detent.

Declaration

static func enabled(upThrough detent: PresentationDetent) -> PresentationBackgroundInteraction

Parameters

  • detent:

    The largest detent at which people can interact with the view behind the presentation.

Discussion

At detents larger than the one you specify, SwiftUI disables interaction.

See Also

Getting interaction types