IVSPlayerView
@interface IVSPlayerView : UIView
A view whose backing layer is an instance of IVSPlayerLayer
.
-
This view’s backing layer, guaranteed to be an instance of
IVSPlayerLayer
.Declaration
Objective-C
@property (nonatomic, readonly) IVSPlayerLayer *_Nonnull playerLayer;
Swift
var playerLayer: IVSPlayerLayer { get }
-
Convenience accessor for the
player
property onplayerLayer
.This property is key-value observable.
-
Convenience accessor for the
videoGravity
property onplayerLayer
.This property is key-value observable.
Declaration
Objective-C
@property (nonatomic, copy, readwrite) AVLayerVideoGravity _Nonnull videoGravity;
Swift
var videoGravity: AVLayerVideoGravity { get set }