large
TypeScriptstatic get large(): PresentationDetentSwift declarationstatic let large: PresentationDetentThe system detent for a sheet at full height.
struct · iOS 16.0+ · SDK 27.1
struct PresentationDetentA type that represents a height where a sheet naturally rests.
static get large(): PresentationDetentSwift declarationstatic let large: PresentationDetentThe system detent for a sheet at full height.
static height(height: number): PresentationDetentSwift declarationstatic func height(_ height: CGFloat) -> PresentationDetentA custom detent with the specified height.
static get medium(): PresentationDetentSwift declarationstatic let medium: PresentationDetentThe system detent for a sheet that's approximately half the height of the screen, and is inactive in compact height.
static fraction(fraction: number): PresentationDetentSwift declarationstatic func fraction(_ fraction: CGFloat) -> PresentationDetentA custom detent with the specified fractional height.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PresentationDetent.custom(_:)
Passing a Swift type itself is not supported.