I’m not able to pause the track.
both -playing property on SPSession & -setIsPlaying property on SPPlaybackMAnager already provides this functionality but it all cause to stop a song not pause the song.
What should I do to pause the running track?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Only use
SPPlaybackManager‘s controls if you use it at all.Set
playingtofalseto pause playback,playingtotrueto resume. Please note that this is for playing Spotify music in your own application, not controlling the Spotify client.See the “Simple Player” examples that come with CocoaLibSpotify to see how to do playback.