ios simulator: how to close an app

2019-01-12 17:07发布

When you "run" the simulator from xCode, the app automatically launches, and then you can click the home button to suspend the app. What I want to do is close the app from within the simulator. So, how can this be done?

8条回答
可以哭但决不认输i
2楼-- · 2019-01-12 17:36

For iOS 7 & above:

  • shift+command+H twice to simulate the double tap of home button
  • swipe your app's screenshot upward to close it

You'll see screenshots representing the apps suspended on your device - those screenshots respond to touch events. Swiping is the gesture you'll make to "fling" the screenshot off of the screen. Note that on machines where your mouse is intended to represent your finger, you'll click and swipe as if it is your finger tapping and making the gesture.

查看更多
Emotional °昔
3楼-- · 2019-01-12 17:40

Double click on the home button and then click and hold the icon like a normal phone and then click close I believe.

查看更多
登录 后发表回答