IVSPlayerView


@interface IVSPlayerView : UIView

A view whose backing layer is an instance of IVSPlayerLayer.

IVSConvenience

  • Convenience accessor for the player property on playerLayer.

    This property is key-value observable.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        IVSPlayer *player;

    Swift

    var player: IVSPlayer? { get set }
  • Convenience accessor for the videoGravity property on playerLayer.

    This property is key-value observable.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) AVLayerVideoGravity _Nonnull videoGravity;

    Swift

    var videoGravity: AVLayerVideoGravity { get set }