简体   繁体   English

iOS:在后台运行app作为服务

[英]iOS: run app as a service in background

Being relatively new to iOS App development, I wish to develop an app which runs like a service in background (comparable with android service). 作为iOS App开发的新手,我希望开发一个类似于后台服务的应用程序(与android服务相媲美)。
The goal of my app is to use the native voice recognition, also while the app is inactive. 我的应用程序的目标是使用本机语音识别,同时应用程序处于非活动状态。
My question is, would it principally be possible to code an app to be able to run also in background? 我的问题是,主要是可以编写一个应用程序,以便能够在后台运行吗?
I've read in a few pretty old threads that iOS closes any app after three minutes. 我已经阅读了一些相当旧的线程,iOS在三分钟后关闭了任何应用程序。
However, should it be possible, I would be thankful for any coding example. 但是,如果可能,我会感谢任何编码示例。

我不这么认为,因为如果应用程序是在后台,本地音频识别是为Siri。

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

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