Usually, Screen Recording doesn’t make your iPhone crash, but it can happen if an app is malfunctioning. So try closing down the problem app and see if it fixes the problem.