How to enable audio scrubber in iOS Lock Screen control panel?

I have the following dictionary for MPNowPlayingInfoCenter

@{MPMediaItemPropertyAlbumTitle: @"First Title",
                                MPMediaItemPropertyArtwork: [[MPMediaItemArtwork alloc] initWithImage:[UIImage imageNamed:@"Album-Cover.jpg"]],
                                MPMediaItemPropertyPlaybackDuration:[NSNumber numberWithDouble:self.storyAudioPlayer.duration],
                                MPNowPlayingInfoPropertyElapsedPlaybackTime:[NSNumber numberWithDouble:self.storyAudioPlayer.currentTime],

Everything else is working fine but I can’t seek songs using the slider. As shown in the image. What parameter am I missing?

  • MPNowPlayingInfoCenter not reacting properly when pausing playback
  • App for jailbroken iOS device: Consistent background operation
  • Can I hide the rewind button in the iOS Lock Screen Music controls?
  • Is there a public way to force MPNowPlayingInfoCenter to show podcast controls?
  • Play/Pause and Elapsed Time not updating in iOS command center properly
  • MPMediaItemArtwork init(image:) deprecated in iOS 10.0
  • Lock screen screenshot

    2 Solutions Collect From Internet About “How to enable audio scrubber in iOS Lock Screen control panel?”

    You can do it on iOS 9.1 and higher with help of MPRemoteCommandCenter and changePlaybackPositionCommand.

    See my answer

    You can’t. You could file a bug report to Apple so that they implement it someday.

    EDIT: It’s now possible to do it since iOS 9