I am switching my music playing app from AVPlayer to MPMusicPlayerController. When the App uses AVPlayer, the now playing info shows as expected. But if I use MPMusicPlayerController, I see the now playing controls in the command centre, but not on the lock screen. Is there some additional step required when using MPMusicPlayerController?
The only work around I have been able to think of is to run an AVPlayer simultaneously with a silent track - but this is a horrible hack to contemplate.