We are using MPMusicController in order to play short sound, but from iOS 13.4 onwards the application started crashing due to missing NSAppleMusicUsageDescription key in the info.plist.
However, after adding the key in info.plist, play/pause API of MPMusicController triggers the "Apple Music Permission". Now, accepting or denying permission does not impact the sound playing through MPMusicController, which makes me wonder.
Ideally, it should not function when the permission is denied, I would appreciate it if anyone has an idea or explanation on this?