23

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.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
pnizzle
  • 6,243
  • 4
  • 52
  • 81

2 Answers2

12

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>
  • I will certainly try this – pnizzle Apr 15 '18 at 05:50
  • I'm marking this as the correct answer for now, as there seems to be no way to fix the issue. – pnizzle May 16 '18 at 01:55
  • I've made such script that contains all my app bundle IDs and some apple apps like Safari and Preferences — very useful, now I have just one click for closing all apps in the simulator. – Pavel Alexeev Sep 28 '18 at 22:29
  • 1
    maybe this is too outdated but sadly, trashy simulator STILL has this BUG. Shame on apple that doesn't fix this and a ton of other bugs. No need to restart simulator. TRY THIS: leave ctrl-cmd-H pressed and eventually you'll see App Switcher showing but you have to be quick releasing the keys or App Switcher will disappear and go to Home. – carlos_ms Jul 15 '20 at 15:20
3

Enable this setting in the simulator hardware settings.

Hardware > Keyboard > Send Keyboard Shortcuts to Device

Command + Shift + H + H will no longer do anything BUT double tapping the home button on the simulator will start working as expected.

Neil Cuthbert
  • 306
  • 2
  • 7