简体   繁体   English

覆盖从移动Safari tel启动的电话应用程序:链接到iOS?

[英]Override phone app launched from mobile Safari tel: link on iOS?

Is it possible to have an iOS native app register for the tel: url scheme so that mobile Safari will launch it in response to HTML tel: links rather than the built-in Phone application? 是否可以为tel: url方案注册一个iOS本机应用程序,以便移动Safari响应HTML tel:链接而不是内置的Phone应用程序来启动它? Ie to override the built-in Phone app ? 即要覆盖内置的电话应用程序?

No, at least not surely. 不,至少不确定。 I remember Apple docs saying that if two app registers the same URL scheme, then the behavior is unspecified when using that URL scheme. 我记得苹果文档说过,如果两个应用程序注册了相同的URL方案,则在使用该URL方案时未指定行为。 You can do this, however, with a MobileSubstrate plugin (if jailbreaking is an option), which hooks into SpringBoard and opens a different application when that particular URL scheme is encountered. 但是,您可以使用MobileSubstrate插件(如果可以选择越狱)来执行此操作,该插件可以挂接到SpringBoard并在遇到特定的URL方案时打开另一个应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM