I'm looking for a way to record audio that's playing in the background from another app. For example, being able to record what Pandora/Spotify is playing.
From what I understand this isn't possible yet Snapchat's latest update supports background audio when recording a video.
This post shows how to allow audio to continue in the background however as soon as I set [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryRecord error:nil];
the background audio stops immediately.
How does Snapchat allow the background audio to continue while recording?