iOS simulator: double click home button does not work sometimes

后端 未结 2 575
滥情空心
滥情空心 2021-02-18 14:59

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 simula

相关标签:
2条回答
  • 2021-02-18 15:46

    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>
    
    0 讨论(0)
  • 2021-02-18 15:47

    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.

    0 讨论(0)
提交回复
热议问题