MDCElevationOverriding

@protocol MDCElevationOverriding

Provides APIs for @c UIViews to communicate their elevation throughout the view hierarchy.

  • Used by @c MaterialElevationResponding instead of @c mdc_baseElevation.

    This can be used in cases where there is elevation behind an object that is not part of the view hierarchy, like a @c UIPresentationController.

    Note: If set to a negative value, this property is ignored as part of the @c mdc_baseElevation calculation.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat mdc_overrideBaseElevation;