问题描述
在开发应用程序时,有时可以强制退出应用程序而不必重新启动整个设备,这很有用.
When developing an app, it is sometimes useful to force-quit an application without having to re-start the entire device.
在我的iPhone上,我可以通过双击主页按钮并将应用程序滑动到顶部来强制退出活动的应用程序.
On my iPhone, I can force-quit the active app by double-clicking the home button and swiping the app to the top.
对于实际的Apple Watch(而不是模拟器),强制退出应用程序特别有用,因为Xcode和watch应用程序之间有时会出现连接问题.另外,有时我想在未连接Xcode的情况下强制退出Apple Watch应用程序.
For the actual Apple Watch (not the simulators), force-quitting an app is particularly useful since there are sometimes connection problems between Xcode and the watch app. Also, sometimes I would like to force-quit my Apple Watch app when it is not connected to Xcode.
那么,如何在不重新启动整个设备的情况下在Apple Watch上强制退出/终止活动的应用程序?
So, how can I force-quit / terminate the active app on the Apple Watch without restarting the entire device?
推荐答案
要终止的应用程序已打开:
When the app that you would like to terminate is open:
- 按住侧面按钮,直到出现关闭屏幕.然后放开侧面按钮.
- 再次按住侧面按钮,直到出现主屏幕.
您以前处于活动状态的应用现已终止.
Your formerly active app has now been terminated.
PS:侧面按钮是Digital Crown下方的按钮.
PS: The side button is the button below the Digital Crown.
这篇关于如何在实际的Apple Watch上(而不是在模拟器中)强制退出单个应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!