HVTViewFillMode Constants Reference
Declared in | HVTView.h |
---|
HVTViewFillMode
Constants indicating how the video preview is displayed within the HVTView’s bounds rect.
Definition
typedef NS_ENUM(NSInteger, HVTViewFillMode ) {
HVTViewFillModeAspectFit,
HVTViewFillModeAspectFill,
};
Constants
HVTViewFillModeAspectFit
-
This preserves the aspect ratio, leaving black bars where the video does not fill the available screen area.
Declared In
HVTView.h
. HVTViewFillModeAspectFill
-
This preserves the aspect ratio, but fills the available screen area, cropping the video when necessary.
Declared In
HVTView.h
.
Declared In
HVTView.h