---
title: allowsPickingMultipleItems
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpmediapickercontroller/allowspickingmultipleitems
---

# allowsPickingMultipleItems

A Boolean value specifying the default selection behavior for a media item picker.

## Declaration

```swift
var allowsPickingMultipleItems: Bool { get set }
```

## Discussion

Discussion When set to true, the media item picker allows the selection of multiple media items. When set to false, the media picker only allows the selection of a single media item. The label for the button that dismisses the picker is “Done” when this value is true and “Cancel” when it’s false.

## See Also

### Using a media item picker

- [showsCloudItems](mediaplayer/mpmediapickercontroller/showsclouditems.md)
- [mediaTypes](mediaplayer/mpmediapickercontroller/mediatypes.md)
- [prompt](mediaplayer/mpmediapickercontroller/prompt.md)
- [showsItemsWithProtectedAssets](mediaplayer/mpmediapickercontroller/showsitemswithprotectedassets.md)
