For Android users
Swipe down twice from the top of your screen.
Tap Screen record.
You might need to swipe right to find it.
If it's not there, tap Edit and drag Screen record to your Quick Settings.
Choose what you want to record and tap Start. The recording begins after the countdown.
To stop recording, swipe down from the top of the screen and tap the Screen recorder notification.
For iOS users
Go to Settings > Control Center, then tap next to Screen Recording.
Open Control Center, tap, then wait for the three-second countdown.
To stop recording, open Control Center, tap or the red status bar at the top of the screen, then tap Stop.