Enumeration

AVPlayerViewTrimResult

Constants that specify what the user’s action was when trimming the media in a player view. See beginTrimming(completionHandler:) for more information.

Declaration

enum AVPlayerViewTrimResult : Int

Topics

Constants

case okButton

The user selected the Trim button.

case cancelButton

The user selected the Cancel button.

See Also

Trimming Playback Content

Implementing Trimming (macOS)

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

var canBeginTrimming: Bool

A Boolean property that specifies if the current player view’s media can be trimmed.

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

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