<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlayerView/canBeginTrimming",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerView(py)canBeginTrimming"
  },
  "title" : "canBeginTrimming"
}
-->

# canBeginTrimming

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

```
var canBeginTrimming: Bool { get }
```

## Discussion

Before calling [`beginTrimming(completionHandler:)`](/documentation/AVKit/AVPlayerView/beginTrimming(completionHandler:)), check the value of this property to determine whether the player view and current media support trimming. This property value is `false` if the current controls style doesn’t support trimming, the media is content protected, or when playing HTTP Live Streaming media.

If you’re presenting a menu item to initiate trimming, a good place to perform this check is in the <doc://com.apple.documentation/documentation/AppKit/NSDocument/validateUserInterfaceItem(_:)> method of <doc://com.apple.documentation/documentation/AppKit/NSDocument>:

```swift
override func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
    if item.action == #selector(beginTrimming) {
        return playerView.canBeginTrimming
    }
    return super.validateUserInterfaceItem(item)
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)