<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMusicPlayerApplicationController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPMusicPlayerApplicationController"
  },
  "title" : "MPMusicPlayerApplicationController"
}
-->

# MPMusicPlayerApplicationController

A media player object that you use to revise the queue that’s currently playing.

```
class MPMusicPlayerApplicationController
```

## Topics

### Changing the queue contents

[`perform(queueTransaction:completionHandler:)`](/documentation/MediaPlayer/MPMusicPlayerApplicationController/perform(queueTransaction:completionHandler:))

Changes the contents of the media items in the queue.

[`MPMusicPlayerControllerQueueDidChangeNotification`](/documentation/MediaPlayer/MPMusicPlayerControllerQueueDidChangeNotification)

Indicates the music player’s queue changed.

### Changing the queue contents

[`perform(queueTransaction:completionHandler:)`](/documentation/MediaPlayer/MPMusicPlayerApplicationController/perform(queueTransaction:completionHandler:))

Changes the contents of the media items in the queue.

  <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/MPMusicPlayerControllerQueueDidChange>



---

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)