سؤال

I'm writing a streaming app that's using the remote control feature (remoteControlReceivedWithEvent:).

I can start and stop songs with the remote control as expected.

But I can't seem find out how to disable the next and previous song button on the home screen (double-tap home and swipe all the way to the left).

I'm using a MPMoviePlayerController internally.

Thanks :)

هل كانت مفيدة؟

المحلول

As far as I know the API doesn't allow you to show the buttons as disabled. I think the best you can do is just not take any action when one of those buttons are pressed.

I have not observed any other major app that shows the remote buttons as disabled.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top