Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS simulator: double click home button does not work sometimes

Tags:

With the iOS simulator version 10, double clicking the home button to bring up multitasking (running apps) sometimes does not respond. Even hitting (cmd + shift + h)x2 to simulate home button double click also works sometimes. I have verified this with a work mate and they have the same issue. I am not sure if this is a bug in the simulator or if there is a setting somewhere on for example the delay between the clicks? The answer from here did not make a difference.

like image 967
pnizzle Avatar asked Nov 13 '17 03:11

pnizzle


People also ask

How do I open the keypad in iOS simulator?

Just press ⌘K it will toggle keyboard.

How do you enable accessibility on iPhone simulator?

Run your app in iOS Simulator (for more information on how to do this, see Simulator User Guide). In the simulated device environment, press the Home button to reveal the Home screen. Open Settings and go to General > Accessibility. Slide the Accessibility Inspector switch control to On.

How do you refresh iPhone simulator?

Selecting Reload (or pressing ⌘ + r in the iOS simulator) will reload the JavaScript that powers your application.

How do you tap in iOS simulator?

When in the simulator, hold the option key down and click - this will simulate a two-finger tap!


1 Answers

I have this problem too when I want to close my app. So, I use command line instead:

xcrun simctl list | grep Booted

then copy simulator ID, and run this command to close app

xcrun simctl terminate <simulator ID> <your app bundle ID>


... or if you have only one simulator running, just type booted:

xcrun simctl terminate booted <your app bundle ID>
like image 90
Piyapan Poomsirivilai Avatar answered Oct 03 '22 08:10

Piyapan Poomsirivilai