Package apple.uikit.protocol
Interface UISheetPresentationControllerDetentResolutionContext
-
public interface UISheetPresentationControllerDetentResolutionContextA context used for resolving custom UISheetPresentationControllerDetent values. API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull UITraitCollectioncontainerTraitCollection()The trait collection of the sheet's containerView.doublemaximumDetentValue()The maximum value a detent can have.
-
-
-
Method Detail
-
containerTraitCollection
@NotNull @NotNull UITraitCollection containerTraitCollection()
The trait collection of the sheet's containerView. Effectively the same as the window's traitCollection, and does not include overrides from the sheet's overrideTraitCollection.
-
maximumDetentValue
double maximumDetentValue()
The maximum value a detent can have.
-
-