[英]how to open another application from background using Custom URL scheme in iOS
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.
我已经在位置服务的帮助下实现了永远的后台运行,该服务工作正常并且还从后台更新位置但是它无法执行openURL方法。
Please suggest something.Thanks 请提出建议。谢谢
It's not possible! 这是不可能的!
You can use these links only. 您只能使用这些链接。
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html
I will extend a little bit on MobiDevCom answer. 我将稍微介绍一下MobiDevCom的答案。
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. 直接方法(尝试使用各种公共或私有API从后台打开某些内容)最终需要各种权利。 I tried at least dozen of things about a year ago and reverse engineered quite a lot of iOS components.
大约一年前我尝试了至少十几件事,并且反向设计了很多iOS组件。
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). 我发现的唯一想法是使用MDM引导模式(但是,设备需要受到监督并注册到MDM中)。
BTW. BTW。 Here is the question which I asked - Show some UI from background in audio player or VOIP app on iOS
这是我问的问题 - 在iOS上的音频播放器或VOIP应用程序中显示背景UI
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.