how to show seek track duration on control center
How do i pass the song info such as song name and track duration to control center. Player plays music fine and the play and pause control works fine though. Playing with apple's music app Playing with my app with the code below, how to pass song information in order to display it ? //AppDelegate -(void)setupAudio { // Set AVAudioSession NSError *sessionError = nil; [[AVAudioSession sharedInstance] setDelegate:self]; [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:&sessionError]; // Change the default output audio route UInt32 doChangeDefaultRoute = 1;