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
ios cocoa-touch xamarin xamarin.ios


source to share


No one has answered this question yet

See similar questions:

3
How to hide MPMediaItemPropertyPlaybackDuration slider from locked screen and Control Center?

or similar:

1300
Transferring data between view controllers
1264
How to check an active internet connection on iOS or macOS?
1244
How can I sort NSMutableArray with custom objects in it?
1172
How can I disable the selection of a UITableView?
17
How to set current play duration and elapsed time on locked screen of iOS 7?
3
How to hide MPMediaItemPropertyPlaybackDuration slider from locked screen and Control Center?
1
Is there a way to show the screen lock using AVAudioEngine and AVAudioPlayerNode?
1
Why is the control button disabled on the lock screen and command center when playing music?
0
MPMediaItemPropertyArtwork not showing in command center
0
Is it possible to hide all controls when the screen is locked? - target c



All Articles
Loading...
X
Show
Funny
Dev
Pics