是否有可能让我关闭的应用程序在iOS中运行代码? [英] Is it possible to have my closed app run code in iOS?

查看:73
本文介绍了是否有可能让我关闭的应用程序在iOS中运行代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设iOS中的应用已关闭。是否可以设置它以便在一段时间后运行一段代码?

Let's say that my app in iOS is closed. Would it be possible to set it up so that it runs a piece of its code after a certain period of time?

推荐答案

你可以将您的应用安排推送通知,但除非它正在运行,否则你无法安排它运行特定的代码。

You can have your app schedule push notifications, but you can't schedule it to run specific code unless it's running.

这篇关于是否有可能让我关闭的应用程序在iOS中运行代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆