Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to control play/pause remotely using earbuds #18

Closed
good2hear opened this issue Sep 20, 2016 · 1 comment
Closed

not able to control play/pause remotely using earbuds #18

good2hear opened this issue Sep 20, 2016 · 1 comment

Comments

@good2hear
Copy link

hi there,
Thanks for your work!
I was referring to your work in implementing my audio player (especially now playing part)
and I was able to play prev/next song using earbuds (by pressing 2/3 times respectively)
but not play/pause (by pressing only once)

both playing prev/next song and play/pause work from now playing if i do it on device.

any comment will be appreciated!!
thanks!

@good2hear
Copy link
Author

I was able to resolve this issue by using
commandCenter.togglePlayPauseCommand

e.g.
[commandCenter.togglePlayPauseCommand addTarget:self action:@selector(didReceiveToggleCommand:)];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant