Skip to content

Instantly share code, notes, and snippets.

@julesjans
Last active May 8, 2021 16:40
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save julesjans/2baa9e4bc11b033ea8eec3f15a8029a1 to your computer and use it in GitHub Desktop.
Save julesjans/2baa9e4bc11b033ea8eec3f15a8029a1 to your computer and use it in GitHub Desktop.
Capture iOS Simulator to animated gif
# 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
@feveral
Copy link

feveral commented Oct 20, 2020

The commands is really useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment