Edit

Share via


AVPlayerViewController.WeakVideoGravity Property

Definition

Weakly-typed setting that controls how the video is shown within its bounds.

public virtual Foundation.NSString WeakVideoGravity { [Foundation.Export("videoGravity")] get; [Foundation.Export("setVideoGravity:")] set; }
member this.WeakVideoGravity : Foundation.NSString with get, set

Property Value

NSString that represents the video gravity (one of the AVLayerVideoGravity string constatnts).

Attributes

Remarks

This should be rarely used.

Only use this property if a new video gravity is introduced by Apple that is not covered by the strongly typed enumeration.

Applies to