By default, there is no home key inside the simulator. So we cannot close the application and go to the home screen.
There is another way to implement this action. Use below group keys: shift + command + H
If you double click H button, it is just like you double click the home button.

本文介绍了一种在模拟器环境中模拟Home键操作的方法,通过使用特定的键盘快捷键组合(Shift+Command+H),可以实现关闭应用并返回到主屏幕的功能。如果连续按下H键两次,则相当于双击Home键。
113

被折叠的 条评论
为什么被折叠?



