<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMediaPickerController/allowsPickingMultipleItems",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPMediaPickerController(py)allowsPickingMultipleItems"
  },
  "title" : "allowsPickingMultipleItems"
}
-->

# allowsPickingMultipleItems

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

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

## Discussion

When set to <doc://com.apple.documentation/documentation/Swift/true>, the media item picker allows the selection of multiple media items. When set to <doc://com.apple.documentation/documentation/Swift/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 <doc://com.apple.documentation/documentation/Swift/true> and “Cancel” when it’s <doc://com.apple.documentation/documentation/Swift/false>.

---

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)