ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: changing iOS simulator device the app disappear

Open gio82 opened this issue 12 years ago • 3 comments

Type: bug

Platform: ios 8 webview

iOS simulator: 8.1 Ionic: beta 13 Ionic CLI: 1.2.8 Cordova: 4.1.0

I run: ionic emulate ios -l -c -s The app starts on an iPhone 6 simulator ok. When I try to change the device the app disappear from the simulator device. I'm not able to find the app in the home screen anymore.

This is something "new" because with iOS 7 (and old iOS simulator) all was fine.

gio82 avatar Nov 12 '14 09:11 gio82

You may want to run the following command to target certain devices:

ionic emulate ios --target="iPhone-6"

# Valid values for "--target" (case sensitive):
#   iPhone-4s
#   iPhone-5
#   iPhone-5s
#   iPhone-6-Plus
#   iPhone-6
#   iPad-2
#   iPad-Retina
#   iPad-Air
#   Resizable-iPhone
#   Resizable-iPad

Please also note, when you compile an app to a specific simulator, it's installed on that simulator. So when you change devices, you must also recompile that app for that device to have it on that simulator

Hope this helps!

jbavari avatar Dec 09 '14 01:12 jbavari

Hi, jbavari, how I can specify the rotation of the device?

cebraSpA avatar Jul 09 '15 19:07 cebraSpA

in your simulator menu, under hardware there are options for rotation of device

sarahsuleri avatar Jul 10 '15 19:07 sarahsuleri