【问题标题】:How to Open Google Street View App from an another iOS App如何从另一个 iOS 应用打开谷歌街景应用
【发布时间】:2016-01-22 12:37:10
【问题描述】:

使用以下链接作为参考https://developers.google.com/maps/documentation/ios-sdk/urlscheme 打开谷歌地图 iOS 应用程序。

我需要检查并打开 Google 街景 iOS 应用。如果有人知道它的 url 方案以及如何在我的设备中检查谷歌地图并使用 URL 方案打开它,请帮助我。

【问题讨论】:

  • 以下答案有什么好运气吗?
  • @valosip 尚未检查。将检查它们并更新您。

标签: ios objective-c google-maps google-street-view


【解决方案1】:

更新答案以反映谷歌街景应用而不是谷歌地图街景选项

if ([[UIApplication sharedApplication] canOpenURL:
     [NSURL URLWithString:@"streetview://"]]) {
  NSLog(@"Google Street View is installed");
} else {
  NSLog(@"Google Street View is not installed");
}

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-11-08
  • 2018-07-31
  • 1970-01-01
  • 1970-01-01
  • 2021-10-01
  • 1970-01-01
  • 2017-06-19
相关资源
最近更新 更多