Search code examples
iphonesettingsios-simulatorsaveshutdown

Shut down iPhone in simulator


This might seem like a strange question, but can I actually shut down the iPhone and restart it in the iPhone simulator? I want to do this to see if my settings are saved and reloaded when the app is relaunched AFTER shutdown.

Thanks


Solution

  • Yes. Press Command+Q to quit the simulator.

    This will close all the apps running in the simulator.

    Pressing the home button only returns to the home screen without quitting the apps(ios 4 or later) because of multitasking.

    You can also double tap the home button, click and hold on the icons at the bottom of the screen till a red circle appear, and click on the red circle to close the running app.