---
title: allowsEmptySelection
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmediaselectiongroup/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.

## Declaration

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

## Discussion

Discussion If the value of this property is true, you can deselect all of the available media options in the group by passing nil as the specified AVMediaSelectionOption object to select(_:in:).
