For doing screen recording on iPhone just follow these simple steps:
1. Firstly go to your Setting tab, then click on the control center.
2. When it opens a search screen recording, click on it and add it.
3. When it was added and you click on screen recording after 3 sec it started recording.
4. For stopping click on the red bar.