【发布时间】:2012-02-20 10:32:59
【问题描述】:
我想从带有坐标的 iphone 应用程序启动 ndrive。 我试过了,但不知道坐标的参数。
NSString *stringURL = @"ndrive//";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];
有人知道使用什么 URL Scheme 吗?我在网上搜索但找不到答案。
【问题讨论】:
-
iOS 自定义协议是
app:,所以它可能是ndrive:。至于参数-我不知道,您必须联系ndrive。但是,他们可能只是关注谷歌并使用ndrive:?sll=37.0625,-95.677068 -
我要调用的应用程序是 tmn-drive,它建立在 ndrive 之上,这就是为什么我说我想启动 ndrive。我使用了“tmn-drive:”,但它没有打开。每个应用程序都有一个 url-sheme 还是开发人员必须故意注册它?原因可能是开发者没有注册任何 url 方案。
标签: iphone ios gps coordinates