My app uses the location service. To test what is happening when the user presses 'Don't allow' when the simulator asks for the permission to access the location service (when the app is started for the first time) I need to reset the simulator. This because the question was answered at the beginning of the development process with allow. So no more questions are asked.
Resetting the Simulator with "Resetting Content and Settings.." don't bring back the question at the start. What I am doing wrong?
ctrl+cmd+z. Pause . 5 seconds for menu to appear. Click the reload button image.
For closing (not quit) the running application in Simulator the keyboard shortcut is "shift+command+h".
To remove all data and settings from an iOS simulator, just click Device then select Erase All Content and Settings from the drop-down menu: A confirm dialog will show up. Click on the Erase button: The process will take a while to finish.
For iOS 14 and newer:
Device
> Erase All Contents and Settings...
For iOS 11 and newer:
Hardware
> Erase All Contents and Settings...
For previous versions:
Simulator
> Reset Content and Settings...
(In earlier versions of the simulator the top menu entry label was "iOS Simulator"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With