Here are the steps to screen record on an iPhone with sound in 2023.
Open the Settings app on your iPhone and Enable Screen Recording in Control Center.
Access Control Center by swiping down from the top-right to open the Control Center.
If you have an iPhone with a Home button swipe up from the bottom to Access Control Center.
Start recording by tapping the "Screen Recording" icon In the Control Center.
Stop the recording by tapping the red status bar or the Control Center icon.
After you stop the recording, Saved recordings can be accessed and edited in the Photos app.
Keep in mind that screen recordings capture your entire screen. it may have limitations when recording.
Here are the Top 6 most common methods for taking screenshots on Mac depending on your needs.