Posts

Post not yet marked as solved
0 Replies
393 Views
I'm trying to show likeCommand and dislikeCommand on the Lock Screen of a music player without success. Are they still supported ? Is there any special configuration on the player or the track for them to show? My current code which works for playCommand looks like this MPRemoteCommandCenter.shared().likeCommand.addTarget { [unowned self] _ in if isPlaying { return .success } return .commandFailed }
Posted
by ahbou.
Last updated
.
Post not yet marked as solved
1 Replies
447 Views
I'm trying to show likeCommand and dislikeCommand on the Lock Screen of a music player without success. Are they still supported ? Is there any special configuration on the player or the track for them to show? My current code which works for playCommand looks like this         MPRemoteCommandCenter.shared().likeCommand.addTarget { [unowned self] _ in             if isPlaying {                 return .success             }             return .commandFailed         }
Posted
by ahbou.
Last updated
.