How to simulator the action of "press the home button"?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Use the Hardware > Home menu item, or hit Cmd + Shift + H
回答2:
Works great. COMMAND+SHIFT+ H(double tap)
回答3:
I want to say it's because they want us to remember the new resolution when debugging.
edit: My answer is to the title directly
回答4:
iPhone Simulator Key Shortcuts
Command-Left Arrow
Rotate left
Command-Right Arrow
Rotate right
Command-Shift-H
go home. leave the application and return to the springboard home screen
Command-L
simulates locking the phone