UISheetPresentationController.Detent An object that represents a height where a sheet naturally rests. Declaration@MainActor class Detent TopicsCreating a system detentlarge()medium()Creating a custom detentcustom(identifier:resolver:)resolvedValue(in:)UISheetPresentationControllerDetentResolutionContextIdentifying a detentidentifierUISheetPresentationController.Detent.IdentifierInstance PropertiesbackgroundEffect RelationshipsInherits FromNSObjectConforms ToCVarArgCustomDebugStringConvertibleCustomStringConvertibleEquatableHashableNSObjectProtocolSendable See AlsoSpecifying the heightdetentsselectedDetentIdentifier