Instance Property


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


var dislikeCommand: MPFeedbackCommand { get }


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

var ratingCommand: MPRatingCommand

The command object for rating a media item.

var likeCommand: MPFeedbackCommand

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software