Blog / Getting users for your app
How to record your app screen: iPhone, Android and simulators
To record an iOS simulator in Xcode 27, open your app in Device Hub and click Record. From Terminal, you can use simctl with recordVideo, then press Control-C to stop. On an iPhone, use Screen Recording in Control Center. On Android, adb screenrecord makes a silent video of up to three minutes, while scrcpy can also record sound on Android 11 or later. Crop or re-encode a copy, and keep the original.
By the USposted team. Published . 6 min read.
Limits to know before you record
A simulator is good for showing layouts and steps. Use a real phone when you need its camera, real speed or touch. Some tools also record no sound, so choose the method before you practice the demo.
Choose a recording method
A dash means the linked official page does not state a limit. Test the method before a long recording.
| Method | App sound | Length limit | File |
|---|---|---|---|
| Xcode Device Hub[1] | Not stated | - | Saved to the Desktop |
| simctl[3] | Not stated | Until you stop it | The file you name |
| iPhone Screen Recording[4] | Some apps block it | - | Saved in Photos |
| adb screenrecord[5] | No | 3 minutes | MP4 |
| Android Studio Logcat[7] | No | 3 minutes | MP4 |
| Android Emulator[6] | Yes | - | WebM or GIF |
| scrcpy[8][9] | Android 11 or later | Optional | MP4 or MKV |
Record video on an iOS simulator
Use Device Hub in Xcode 27
Device Hub comes with Xcode 27.[12] Simulators now run inside it.[2] Open your app on a simulated device and go to the first screen of the demo. Click Record under the device, or choose Controls > Record Screen. When you finish, click Stop. The video goes to your Desktop, with a name that starts with "Screen Recording".[1]
Apple's instructions cover video from simulated devices. For physical devices, the same page only describes screenshots,[1] so record a real iPhone on the phone itself.
Use Terminal
Start one simulator and open your app. Then run:
xcrun simctl io booted recordVideo --codec h264 --mask ignored demo.mp4
Apple showed these codec and mask options at WWDC20. They save an H.264 video of the full rectangular picture. Press Control-C to stop.[3] We also checked the options in the simctl help for Xcode 26.0.1. It says the default codec is HEVC. It also says that a message saying "Recording started" appears after the first frame. Wait for that message before you begin the demo.
If several simulators are running, replace booted with the device's ID. We did not start a simulator for this article or check simctl in Xcode 27. To see the options in your version, run:
xcrun simctl io help
Record on an iPhone
Swipe down from the top-right corner to open Control Center. Tap the gray Record button, wait three seconds and close Control Center. To add your voice, touch and hold Record and turn on Microphone before you start. When you stop, the video appears in Photos.[4]
Some apps may block audio or video recording. You also cannot record the screen while using screen mirroring.[4] Record ten seconds and play it back before the full demo, especially if your app uses protected video, calls or another audio app.
Record on an Android phone
Use adb for a short silent clip
Turn on USB debugging, connect the phone and check that adb can see it. Then run:
adb shell screenrecord /sdcard/demo.mp4
Press Control+C to stop, then copy the video to your computer:
adb pull /sdcard/demo.mp4
The command needs Android 4.4 or later and stops by itself after three minutes. It does not record audio. Some devices cannot record at their full screen resolution. Do not rotate the phone, because part of the picture can be cut off.[5]
If you want to show each touch, use the Screen Record button in Android Studio's Logcat window. Its recorder has a Show Taps setting, but it has the same three-minute limit and records no sound.[7]
Use scrcpy when sound matters
Install scrcpy from its official project, connect the phone and run:
scrcpy --record=demo.mp4
This records video and sound while the phone's screen appears on your computer.[8] Sound works by default on Android 12 or later. On Android 11, the screen must be unlocked when you start. On Android 10 or earlier, scrcpy continues with video only.[9] To stop after 60 seconds, add --time-limit=60.
Record the Android Emulator
Open Extended Controls, go to Record and Playback and click Start recording. The emulator can record video and audio, then save them as WebM. It can also save a GIF, but do not choose that if you need sound. This command records a 10-second sample:[6]
adb emu screenrecord start --time-limit 10 sample_video.webm
This is different from adb shell screenrecord, which records inside Android and makes a silent MP4.
Prepare a clean take
Use a demo account with data you invented. Close other apps, turn on a focus mode and check for names, email addresses and notifications. Practice the steps until you can do them without stopping. Leave two seconds still at the start and end, so you have room to edit.
In simctl, you can set a fixed time for the simulator's status bar, then clear it after recording:[3]
xcrun simctl status_bar booted override --time 9:41
xcrun simctl status_bar booted clear
This hides only small distractions. Do not change anything that affects your demo. If the app needs a connection, for example, do not make it look as if it works offline. If you are still choosing the shots, read how to make an app demo video first.
Crop or fit the recording to 1080 x 1920
Phone screens are often taller than 9:16, so you need to crop the picture or add bars. The sizes Apple accepts for App Store screenshots include 1206 x 2622 and 1179 x 2556.[11] We used both sizes to test ffmpeg 8.0.1.
The main clip was a four-second pattern at 1206 x 2622. We removed some frames to make its frame rate change, because scrcpy creates a new frame only when the screen changes.[10] ffprobe showed an average of 45 frames per second and gaps of up to 0.27 seconds.
Crop to fill the canvas
This command keeps the full width and 2,144 rows, starting 180 rows from the top. That cuts 298 rows from the bottom:
ffmpeg -i input.mov -vf "crop=1206:2144:0:180,scale=1080:1920,fps=30,setsar=1" -c:v libx264 -preset fast -crf 18 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart crop.mp4
Change 180 if it cuts something important. These crop numbers only work for a source that is 1206 pixels wide. For another width, divide it by 9 and multiply by 16 to get the height. Round it down to an even number.
Fit the whole screen
This command keeps every row and adds black bars at the sides:
ffmpeg -i input.mov -vf "scale=1080:1920:force_original_aspect_ratio=decrease:force_divisible_by=2,pad=1080:1920:(ow-iw)/2:(oh-ih)/2,fps=30,setsar=1" -c:v libx264 -preset fast -crf 18 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart fit.mp4
- App picture
- 1080 x 1920
- Side bars
- None
- Cut from source
- 478 pixel rows
- ffprobe
- h264, yuv420p, 30 fps
- App picture
- 884 x 1920
- Side bars
- 98 px each
- Cut from source
- Nothing
- ffprobe
- h264, yuv420p, 30 fps
In our test, both files had 120 frames, all at a steady 30 frames per second. This shows that the commands worked on the test clip. It does not show how your text or TikTok's compression will look. To place text in the final frame, use our TikTok safe zone guide.
Fix an odd width
We also tried to encode a 1179 x 2556 clip with libx264 and the common yuv420p format. ffmpeg stopped with "width not divisible by 2". If you want to keep nearly the full size, add this filter:
-vf "crop=trunc(iw/2)*2:trunc(ih/2)*2"
It worked, and ffprobe showed 1178 x 2556. The filter removes one column of pixels. You do not need it with the fit command above, because force_divisible_by=2 keeps the size even. The target size is already even too.
Check the exported file
Run this on your own file and look for the size and frame rate you planned:
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,width,height,pix_fmt,r_frame_rate,avg_frame_rate,nb_frames -of default=noprint_wrappers=1 crop.mp4
Our cropped file returned h264, 1080, 1920, yuv420p, 30/1, 30/1 and 120. A longer clip will have more frames. This command checks only the video, so listen to the sound as well.
Then watch the full export on a phone. Check the first and last frames, the smallest text and the timing of each touch. TikTok has different published limits for its app, API and ads, which you can compare in our TikTok video size guide. App Store previews have their own video specs.
Questions people ask
Why does my simulator recording have black corners?
The recording may be using a black device mask. A mask covers the parts of the picture outside the phone's visible screen, such as the rounded corners. With simctl, add --mask ignored to save the full rectangular picture. Apple's older simulator session says the black mask also covers the sensor area on some devices. Without the mask, you may see parts of your background that a real phone would hide, so check the edges before you crop. Do not use a black edge as part of your app's design.
Why does my simctl recording not open?
Check that simctl had time to finish the file. Press Control-C in the Terminal window where it is running, then wait for the command prompt to come back. The help text says simctl processes the last frames and completes the file before it exits. Closing the Terminal window or ending the process may leave the file incomplete. If simctl finished but your player still cannot open the file, check the codec with ffprobe. The help in Xcode 26.0.1 says HEVC is the default, and you can choose H.264 with --codec h264.
Can I record Android sound with adb?
Not with adb screenrecord. Android says the video it makes has no audio. If the app's sound matters, scrcpy can record it on Android 11 or later. On Android 11, unlock the phone's screen before you start. Android Studio's Logcat recorder also makes silent videos. Another way is to add your voice later, but only if the sound does not prove how the app works. A music app needs a recording of its own sound, because a replacement track would not show what the user hears.
Can I use simulator footage to show how fast my app is?
It is better to use a real device. Apple says simulators do not copy the performance or features of a physical device, so a smooth recording on a Mac does not prove that the app is fast on a phone. A simulator is useful when the demo is about layout, text or a set of steps, as long as those steps work the same on a phone. Record games, camera features and any claim about speed on a real device. If you make the video faster in the edit, say so on screen.
Should I record at 30 or 60 frames per second?
Record at the rate your device or tool provides, and choose the export rate later. The commands here make a 30 frames per second file, which is a simple choice for screens, menus and text. For a game with fast movement, try fps=60 and watch both versions on a phone. A 60 frames per second export cannot restore movement that was missing from the original recording. It will usually make a larger file too. Keep the original, so you can make a new export without recording the app again.
Sources
- Apple Developer: capturing screenshots and videos from devices
- Apple Developer: running your app on simulated or physical devices
- Apple WWDC20: become a Simulator expert
- Apple Support: record the screen on your iPhone, iPad, or iPod touch
- Android Developers: Android Debug Bridge (adb)
- Android Developers: record the screen of the Android Emulator
- Android Developers: record a video with Logcat
- scrcpy documentation: recording
- scrcpy documentation: audio
- scrcpy documentation: video and frame rate
- Apple Developer: App Store screenshot specifications
- Apple WWDC26: get the most out of Device Hub
Prices and platform rules change. We checked these pages on November 30, 2026.





