如何在iphone上检查自定义网址方案? [英] How to check for custom url scheme on iphone?

查看:118
本文介绍了如何在iphone上检查自定义网址方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用中使用自定义网址方案,例如调用navigons移动导航器。
首先,我想检查是否安装了navigon,或者至少是否已经注册了自定义URL方案navigon://。

I want to use custom url schemes in my app, for example calling navigons mobile navigator. First of all I want to check whether navigon is installed or at least whether the custom url scheme "navigon://" has already been registered.

任何想法?

非常感谢。

推荐答案

看看UIApplication的

Have a look at UIApplication's

- (BOOL)canOpenURL:(NSURL *)url

这篇关于如何在iphone上检查自定义网址方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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