简体   繁体   English

在App Store更新后,iOS应用程序是否继续在后台运行?

[英]Does an iOS app continue to run in the background after an App Store update?

For example: would a VOIP app, which has an open socket which is notified of incoming traffic before the App Store update, have a chance to re-establish that socket after an App Store update? 例如:一个VOIP应用程序,它有一个打开的套接字,在App Store更新之前收到通知流量的通知,有机会在App Store更新后重新建立该套接字吗? Or does the App have to wait for the user to open the App first? 或者应用程序是否必须等待用户首先打开应用程序? I can't find any answer to this in any Apple documentation. 我在任何Apple文档中都找不到任何答案。

I believe that the app is shut down (terminated) before updating, and I don't believe that the system automatically restarts them after updating (geofencing and related tasks should still work, though). 我相信应用程序在更新之前就会关闭(终止),我不相信系统会在更新后自动重新启动它们(但是地理环境和相关任务应该仍然有效)。

Think about it: when you get an update for Bob's Awesome Application on your desktop, you have to shutdown the app before installing the update. 想一想:当您在桌面上获得Bob的Awesome应用程序的更新时,您必须在安装更新之前关闭该应用程序。

After the update is installed, Bob's Awesome Application doesn't restart itself - that would just be weird - and quite annoying. 安装更新后,Bob的Awesome应用程序不会重新启动 - 这只会很奇怪 - 并且非常烦人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM