how to open another application from background using Custom URL scheme in iOS

情到浓时终转凉″ 提交于 2020-01-14 10:43:19

问题


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.

Please suggest something.Thanks


回答1:


It's not possible!

You can use these links only.

https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html




回答2:


I will extend a little bit on MobiDevCom answer.

I haven't found a good publicly known solution.

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.

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



来源:https://stackoverflow.com/questions/24303871/how-to-open-another-application-from-background-using-custom-url-scheme-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!