【发布时间】:2018-12-27 17:04:51
【问题描述】:
我实际上知道这个实现:Flutter programmatically closing the app,但是当应用程序关闭时仍然在后台。我怎样才能绝对杀死应用程序而不让它在后台运行?
谢谢!
【问题讨论】:
-
您在 Android 中尝试过
exit(0);吗?在 iOS 中,没有退出应用程序这样的事情。 -
@GünterZöchbauer 是的。在描述中我告诉过你我知道这一点,但不能按我的意愿工作。