Last active
February 13, 2021 15:09
-
-
Save tetek/b85fede9fd7e22de98365051903bd985 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MPRemoteCommandCenter.shared().nextTrackCommand.addTarget { (event) -> MPRemoteCommandHandlerStatus in | |
| print("next song") | |
| return .success | |
| } | |
| MPRemoteCommandCenter.shared().pauseCommand.addTarget { (event) -> MPRemoteCommandHandlerStatus in | |
| print("pause") | |
| return .success | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment