Hello,
I’m building an iOS video player using AVPlayer and a custom playback queue.
I implemented remote controls using MPRemoteCommandCenter and enabled:
nextTrackCommandpreviousTrackCommandplayCommandpauseCommand
I disabled:
skipForwardCommandskipBackwardCommandseekForwardCommandseekBackwardCommand
I also set queue metadata in MPNowPlayingInfoCenter:
MPNowPlayingInfoPropertyPlaybackQueueIndexMPNowPlayingInfoPropertyPlaybackQueueCount
Even with these commands enabled and the queue count greater than 1, the iOS lock screen continues to display the 10-second skip buttons instead of the previous/next track buttons.
The commands themselves work correctly when triggered externally (Control Center, headphones, etc.), but the UI still shows the skip controls.
Is there a way to force the lock screen UI to display previous / next track buttons for a video playlist?
Or is this behavior expected when using AVPlayer with video content?
Thanks.