---
title: previousTrackCommand
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandcenter/previoustrackcommand
---

# previousTrackCommand

The command object for selecting the previous track.

## Declaration

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

## Discussion

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

## See Also

### Navigating between tracks

- [nextTrackCommand](mediaplayer/mpremotecommandcenter/nexttrackcommand.md)
- [changeRepeatModeCommand](mediaplayer/mpremotecommandcenter/changerepeatmodecommand.md)
- [changeShuffleModeCommand](mediaplayer/mpremotecommandcenter/changeshufflemodecommand.md)
