iOS模拟器:双击主页按钮有时不起作用 [英] iOS simulator: double click home button does not work sometimes
问题描述
在iOS模拟器10版中,双击主屏幕按钮以调出多任务处理(正在运行的应用程序)有时无响应.即使按(cmd + shift + h)x2来模拟主页按钮双击也有时可行.我已经与一位同事验证了这一点,他们也遇到了同样的问题.我不确定这是否是模拟器中的错误,还是不确定设置,例如单击之间的延迟?来自此处的答案没有使差异.
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.
推荐答案
当我想关闭我的应用程序时,我也遇到了这个问题.因此,我改用命令行:
I have this problem too when I want to close my app. So, I use command line instead:
xcrun simctl list | grep Booted
然后复制模拟器ID,然后运行此命令以关闭应用
then copy simulator ID, and run this command to close app
xcrun simctl terminate <simulator ID> <your app bundle ID>
...或者如果您仅运行一个模拟器,只需键入booted
:
... or if you have only one simulator running, just type booted
:
xcrun simctl terminate booted <your app bundle ID>
这篇关于iOS模拟器:双击主页按钮有时不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!