There's another way if you have an iPhone and a Mac. Just plug the iPhone to your Mac (with the charger cable), open QuickTime, Archive > Record New Video, and press the down arrow next to the record button and select your iPhone on the Camera list.
That way you can record or take screenshots easily. You'll see on your computer the same thing you see on your iPhone, so you can also record gameplays or whatever you want to do.