RBContainerViewMode Constants Reference

Declared in RBContainerView.h

RBContainerViewMode

The view mode to be used when sizing and positioning the child view.

Definition

typedef NS_ENUM(NSInteger, RBContainerViewMode ) {
   RBContainerViewModeFit = 0,
   RBContainerViewModeCenter,
};

Constants

RBContainerViewModeFit

The child view is scaled to fit the bounds of the container view.

Declared In RBContainerView.h.

RBContainerViewModeCenter

The child view maintains its desired size and is positioned in the middle of the container view.

Declared In RBContainerView.h.

Declared In

RBContainerView.h