Constants that specify what action the user took when trimming media in a player view.


enum AVPlayerViewTrimResult : Int


Trim Results

case okButton

The user clicked the Trim button.

case cancelButton

The user clicked the Cancel button.

See Also

Trimming Media

Implementing Trimming (macOS)

Implement a QuickTime media-trimming experience in your macOS app.

var canBeginTrimming: Bool

A Boolean value that indicates whether the player view can begin trimming.

func beginTrimming(completionHandler: ((AVPlayerViewTrimResult) -> Void)?)

Sets the player view’s controls panel into trimming mode.