Is there a way to take videos on iOS, with music playing? I came over a bug last month that enabled me to legitimately record a video on my iPhone's camera app without having to pause the music that was playing. But I shut my phone off and back on and it stopped working, I wish someone knew how to trigger this again or inform me if it was patched by apple in a recent update, but yea, that's basically it.
You can't currently record a video while playing music using the native app.

Good news is that you can use 3rd party apps to do it instead, here is an example.

Cheers