<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMediaSelectionGroup/allowsEmptySelection",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMediaSelectionGroup(py)allowsEmptySelection"
  },
  "title" : "allowsEmptySelection"
}
-->

# allowsEmptySelection

A Boolean value that indicates whether it’s possible to present none of the options in the group when an associated player item is played.

```
var allowsEmptySelection: Bool { get }
```

## Discussion

If the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, you can deselect all of the available media options in the group by passing `nil` as the specified [`AVMediaSelectionOption`](/documentation/AVFoundation/AVMediaSelectionOption) object to [`select(_:in:)`](/documentation/AVFoundation/AVPlayerItem/select(_:in:)).

---

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)