MRDBottomSheetState Constants Reference
Declared in | MRDBottomSheetViewController.h |
---|
MRDBottomSheetState
Possible visibility states for the bottom sheet.
Definition
typedef NS_ENUM(NSInteger, MRDBottomSheetState ) {
MRDBottomSheetStateHidden,
MRDBottomSheetStateMinimum,
MRDBottomSheetStatePeek,
MRDBottomSheetStateMiddle,
MRDBottomSheetStateMaximum,
};
Constants
MRDBottomSheetStateHidden
-
The sheet is offscreen and not visible.
Declared In
MRDBottomSheetViewController.h
. MRDBottomSheetStateMinimum
-
The lowest visibility of the sheet while still being onscreen.
Declared In
MRDBottomSheetViewController.h
. MRDBottomSheetStatePeek
-
The sheet occupies more than the min value, but less than half of its maximum height. Useful for exposing content lower in the sheet to users.
Declared In
MRDBottomSheetViewController.h
. MRDBottomSheetStateMiddle
-
The sheet occupies roughly 60% of the height available to it.
Declared In
MRDBottomSheetViewController.h
. MRDBottomSheetStateMaximum
-
The sheet occupies roughly 90% of the height available to it.
Declared In
MRDBottomSheetViewController.h
.
Declared In
MRDBottomSheetViewController.h