IVSPlayerLayer
@interface IVSPlayerLayer : CALayer
Displays the visual content from IVSPlayer.
-
A string constant describing how video is displayed within the layer bounds.
See the definitions of
AVLayerVideoGravityinfor detailed descriptions of the available options. This property is key-value observable.
Declaration
Objective-C
@property (nonatomic, copy, readwrite) AVLayerVideoGravity _Nonnull videoGravity;Swift
var videoGravity: AVLayerVideoGravity { get set }
IVSPlayerLayer Class Reference