One Logo Pool Ball
UIKit · IOS API REFERENCE

UISheetPresentationController.Detent

class · iOS 15.0+ · SDK 27.1

@MainActor class Detent

Members (6)

static · iOS 15.0+

large

TypeScript
static large(): Promise<UISheetPresentationController_Detent>
Swift declaration
class func large() -> Self
static · iOS 15.0+

medium

TypeScript
static medium(): Promise<UISheetPresentationController_Detent>
Swift declaration
class func medium() -> Self
get · iOS 26.1+

backgroundEffect

TypeScript
get backgroundEffect(): Promise<(UIVisualEffect) | null>
Swift declaration
var backgroundEffect: UIVisualEffect? { get set }
set · iOS 26.1+

backgroundEffect

TypeScript
setBackgroundEffect(value?: (UIVisualEffect) | null): Promise<void>
Swift declaration
var backgroundEffect: UIVisualEffect? { get set }
get · iOS 16.0+

identifier

TypeScript
get identifier(): Promise<UISheetPresentationController_Detent_Identifier>
Swift declaration
var identifier: UISheetPresentationController.Detent.Identifier { get }
method · iOS 16.0+

resolvedValue

TypeScript
resolvedValue(context: SDKHandle): Promise<(number) | null>
Swift declaration
@MainActor @preconcurrency func resolvedValue(in context: any UISheetPresentationControllerDetentResolutionContext) -> CGFloat?

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UISheetPresentationController.Detent.custom(identifier:resolver:)

callback cannot propagate synchronous failure

UISheetPresentationController.Detent.init()

inherited init: clang: 'init' is unavailable

All UIKit types →