Follow these steps to record your iPhone's screen without the Dynamic Island or that red recording indicator in the status bar appearing on the final footage.
How to record iPhone screen without the Dynamic Island or the red indicator appearing in your final footage