Is there a way to record in app generated audio using ReplayKit ?

Is there a way to record in app generated audio using ReplayKit ?

I successfully import ReplayKit and I can start and stop a recording, where the audio source comes from the microphone.

However the sound of interest for recording is the audio from the app itself.

Is there a way to have the audio recording come from the sound generated inside the application?

Is there a way to record in app generated audio using ReplayKit ?
 
 
Q