简体   繁体   English

如何使用iOS中的自定义URL方案从后台打开另一个应用程序

[英]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 请提出建议。谢谢

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.

相关问题 从另一个应用程序在 ios 中启动应用程序的 URL 方案的替代方案? - alternative of URL scheme for launching application in ios from another application? 无法使用iOS应用程序中的Url Scheme从Web URL打开Microsoft PowerPoint iPad应用程序中的powerpoint演示文稿 - Unable to open powerpoint presentation in Microsoft PowerPoint iPad Application from a Web URL by using Url Scheme from iOS application 如何在Swift 3中使用自定义URL方案打开iOS App? - How to open my iOS App with custom URL scheme in Swift 3? URL Scheme iOS | 以编程方式开源应用程序 - URL Scheme iOS | Open Source Application Programmtically 通过自定义URL方案调用iOS应用程序 - Call iOS application via Custom URL Scheme 如何在IBM Worklight上使用URL方案打开iOS本机页面? - How to open a iOS Native Page using URL Scheme on IBM Worklight? 是否可以通过使用自定义 url 方案打开本机 iOS 应用程序而无需网页定向到自定义 url? - Is it possible to open an Native iOS app by using Custom url scheme without a webpage directs to custom url? 如何使用URL方案在应用程序中打开Social App登录 - How to Open Social App Login within application using URL Scheme iOS扩展程序中的开放URL方案 - Open URL scheme from iOS extension 如何在iOS中使用自定义URL方案传递信息(通过注释)? - How to pass information (through annotation) using custom url scheme in iOS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM