---
title: allowEmptySelection
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpnowplayinginfolanguageoptiongroup/allowemptyselection
---

# allowEmptySelection

A Boolean that indicates whether the system requires a selection for the language option group.

## Declaration

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

## Discussion

Discussion When set to true, there must be a language option in the language option group.

## See Also

### Retrieving language option group information

- [defaultLanguageOption](mediaplayer/mpnowplayinginfolanguageoptiongroup/defaultlanguageoption.md)
- [languageOptions](mediaplayer/mpnowplayinginfolanguageoptiongroup/languageoptions.md)
