Skip to content

Instantly share code, notes, and snippets.

@tiagobbraga
Created December 7, 2015 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagobbraga/d6b7c996d149a8a4e199 to your computer and use it in GitHub Desktop.
Save tiagobbraga/d6b7c996d149a8a4e199 to your computer and use it in GitHub Desktop.
ionic emulate ios
I've just installed ionic and I used this syntax to select the device to emulate:
ionic emulate ios --target="iPhone-4s"
To find out available emulations I run this:
ios-sim showdevicetypes
This command will return a list something like this:
iPhone-4s, 8.4
iPhone-5, 8.4
iPhone-5s, 8.4
iPhone-6-Plus, 8.4
iPhone-6, 8.4
iPad-2, 8.4
iPad-Retina, 8.4
iPad-Air, 8.4
Resizable-iPhone, 8.4
Resizable-iPad, 8.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment