MDCBottomDrawerViewControllerDelegate

@protocol MDCBottomDrawerViewControllerDelegate <NSObject>

Delegate for MDCBottomDrawerViewController.

  • Called when the top inset of the drawer changes due to size changes when moving into full screen to cover the status bar and safe area inset. Also if there is a top handle, the top inset will take into regards the handle height. The top inset indicates where the content can be safely laid out without it being clipped.

    Declaration

    Objective-C

    - (void)bottomDrawerControllerDidChangeTopInset:
                (nonnull MDCBottomDrawerViewController *)controller
                                           topInset:(CGFloat)topInset;

    Parameters

    controller

    The MDCBottomDrawerViewController.

    topInset

    The top inset in which the content should take into regards when being laid out.