---
title: dislikeCommand
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandcenter/dislikecommand
---

# dislikeCommand

The command object for indicating that a user dislikes what is currently playing.

## Declaration

```swift
var dislikeCommand: MPFeedbackCommand { get }
```

## Discussion

Discussion Use the object in this property to register your app’s handler for disliking the current track. Use your handler to register the user’s dislike for a track, artist, or whatever is appropriate for your app. You can disable the command if your app does not support it. In addition to registering a handler, you can use the command object to provide a localized string to communicate what is being liked to the user.

## See Also

### Rating a media item

- [ratingCommand](mediaplayer/mpremotecommandcenter/ratingcommand.md)
- [likeCommand](mediaplayer/mpremotecommandcenter/likecommand.md)
