You need to swipe up for iPhone 8 and below or slide down for iPhone X and above to navigate to the iPhone control center and press the screen record button to start recording your iPhone screen.