pni*_*zle 16 xcode ios-simulator home-button
使用iOS模拟器版本10,双击主页按钮以启动多任务(运行应用程序)有时无法响应.即使击中(cmd + shift + h)x2来模拟主页按钮双击也有时会起作用.我已经与工作伙伴验证了这一点,他们也遇到了同样的问题.我不确定这是否是模拟器中的错误,或者是否存在某个设置,例如点击之间的延迟?这里的答案并没有什么不同.
当我想关闭我的应用程序时,我也有这个问题.所以,我使用命令行代替:
xcrun simctl list | grep Booted
Run Code Online (Sandbox Code Playgroud)
然后复制模拟器ID,并运行此命令以关闭应用程序
xcrun simctl terminate <simulator ID> <your app bundle ID>
Run Code Online (Sandbox Code Playgroud)
...或者如果您只运行一个模拟器,只需键入booted:
xcrun simctl terminate booted <your app bundle ID>
Run Code Online (Sandbox Code Playgroud)