Interface UISheetPresentationControllerDetentResolutionContext


  • public interface UISheetPresentationControllerDetentResolutionContext
    A context used for resolving custom UISheetPresentationControllerDetent values. API-Since: 16.0
    • 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.