If you have, you already have a built-in recorder for your iPhone. To start, connect your iPhone to your Mac using a lightning cable and launch Quicktime Player. Click the File menu and choose "New Movie Recording." Click the arrow to the right of the record button and you'll see your phone as a choice. If you want to record audio as well, change the microphone to your phone as well. This will allow you to record whatever you're doing on your phone.
Not all apps will allow you to record the screen, such as Netflix. Additionally, switching from portrait to landscape will cause the recording to stop, so pick an orientation and stick with it.
You can also record just audio from your iPhone through Quicktime. For that, you'd go to Quicktime, click the File menu and choose "New Audio Recording." Then, switch the microphone to your phone. Quicktime by default has the volume all the way down, so you'll need to adjust it to hear playback.
This is a great way to show off apps or save something from your phone that isn't easily sharable. And these tips also work with an iPad.
Apple - USE TAG
reading•How to record your iPhone's screen and audio using a Mac
Jan 22•MacBook Pro screen cable issues spawn 'flexgate' petition
Jan 22•Lenovo pencil-friendly laptop, Classroom Pen highlight Microsoft EDU hardware
Jan 22•Apple Pay to land at Target, Taco Bell and more in latest expansion
Jan 21•Galaxy S10: 7 things it needs to stay ahead of top rival Huawei