How do I hide the play slider in the iOS Control Center?

In a streaming music app, it doesn't make sense to display a play slider in the Control Center or on the lock screen. How do I hide the slider?

I am using Xamarin, but any code snippets in Obj-C or Swift would be welcome.

To hide the back and forward buttons, I disabled the MPRemoteCommandCenter commands . However, I have had no luck with hiding the slider with this technique.

Playback slider in iOS Command Center

+2


source to share





All Articles