iOS如何处理URL方案重复? [英] How iOS handle URL scheme duplication?

查看:117
本文介绍了iOS如何处理URL方案重复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果2其他应用程序注册相同的url方案,iOS如何处理这个?

If 2 other app register same url scheme, how iOS handle this?

推荐答案

它将呈现一个UIActionSheet视图,允许用户选择要启动的应用程序(很好的例子是处理.doc文件的应用程序)。那就是你所指定的图标 - 在用户向用户显示的动作单按钮上使用

It will present an UIActionSheet view allowing the user to choose which app to launch (good example are apps that handle .doc files). That's where the icon you specify is used - on the action sheet buttons when it's shown to the user

这篇关于iOS如何处理URL方案重复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆