问题描述
我需要一个解决方案,如何带来一个背景应用程序,当这个信号到来时,正在侦听前景信号的是什么。有没有人有任何想法?
I need a solution, how to bring a backgrounded app, what is listening for a signal to foreground, when this signal comes. Does anybody have any idea?
(我知道这个解决方案并不常见,将这个应用程序放到App Store中是不可能的。但我需要它才能用于iPad特定用途,不适用于App Store)
(I know this solution is not common and it will be impossible to put this app into App store. But I need it for an iPad for specific usage and NOT for App Store)
谢谢
推荐答案
这里有没办法做到这一点,甚至连苹果都不会拒绝它。
There's no way of doing that, not even in a way Apple would reject it.
您是否考虑过通知?当信号触发时,您发送通知,当用户收到该通知时,应用程序再次打开!
Have you thought about notifications? when the signal triggers, you send a notifications, and when the user get that notification the app is opened again!
这篇关于如何以编程方式将应用程序带到前台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!