---
title: nextTrackCommand
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandcenter/nexttrackcommand
---

# nextTrackCommand

The command object for selecting the next track.

## Declaration

```swift
var nextTrackCommand: MPRemoteCommand { get }
```

## Discussion

Discussion Use the object in this property to register your app’s handler for selecting the next track. In your handler, select the media item that follows the current media item. You can disable the command if your app does not support it.

## See Also

### Navigating between tracks

- [previousTrackCommand](mediaplayer/mpremotecommandcenter/previoustrackcommand.md)
- [changeRepeatModeCommand](mediaplayer/mpremotecommandcenter/changerepeatmodecommand.md)
- [changeShuffleModeCommand](mediaplayer/mpremotecommandcenter/changeshufflemodecommand.md)
