-
-
Save dvliman/9783530aa6bb4dd4ec9b215442c0301e to your computer and use it in GitHub Desktop.
Capture iOS Simulator to animated gif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn on the simulator screen capture | |
xcrun simctl io booted recordVideo ~/simulator.mov | |
# Convert the iPhone 6s screen shot into a gif: | |
ffmpeg -i ~/simulator.mov -vf scale=320:-1 -r 6 -f gif -y simulator.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment