You can screen record as long as your device has free space. While there's no one limit to how long you can record your iPhone screen, you must factor in your device's model and how much capacity it has to save the video.