You can create a screen recording and capture sound on your iPhone.
Go to Settings - Control Center, then tap. next to Screen Recording.
Open Control Center, tap. , then wait for the three-second countdown.
To stop recording, open Control Center, tap. or the red status bar at the top of the screen, then tap Stop.