本文介绍了如何在iOS中使用自定义URL方案从后台打开另一个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个企业应用程序.它会在后台连续运行,而从后台我想打开另一个应用程序.就像在两个应用程序之间切换一样.我已经在位置服务的帮助下实现了永远在后台运行,该服务运行良好,并且还可以从后台更新位置,但无法执行openURL方法.

I want to develop an Enterprise Application. It will run in the background continuously and from the background i want to open an another application. Its like toggle between two application. I have implemented forever background running with help of Location services which is working fine and also updating the location from the background but it is unable to execute openURL method.

请提出一些建议.谢谢

推荐答案

我将对MobiDevCom答案进行一些扩展.

I will extend a little bit on MobiDevCom answer.

我还没有找到一个很好的公开解决方案.

I haven't found a good publicly known solution.

直接方法(尝试使用各种公共或私有API从后台打开某些对象)最终需要各种权利.一年前,我至少尝试了数十种方法,并对许多iOS组件进行了反向工程.

The direct approach (trying to open something from background using all kinds of public or private API) ends up requiring all kinds of entitlements. I tried at least dozen of things about a year ago and reverse engineered quite a lot of iOS components.

我发现的唯一想法是使用MDM引导模式(但是,需要对此设备进行监督并注册到MDM中).

The only idea which I found was usage of MDM Guided mode (however, a device needs to be supervised and enrolled into MDM for that).

顺便说一句.这是我问的问题-

BTW. Here is the question which I asked - Show some UI from background in audio player or VOIP app on iOS

这篇关于如何在iOS中使用自定义URL方案从后台打开另一个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 23:35