Enumeration

AVPlayerViewTrimResult

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

Declaration

typedef enum AVPlayerViewTrimResult : NSInteger {
    ...
} AVPlayerViewTrimResult;

Topics

Constants

AVPlayerViewTrimOKButton

The user selected the Trim button.

AVPlayerViewTrimCancelButton

The user selected the Cancel button.

See Also

Trimming Playback Content

Implementing Trimming (macOS)

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

canBeginTrimming

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

- beginTrimmingWithCompletionHandler:

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