【问题标题】:open application from url - ios 10从 url 打开应用程序 - ios 10
【发布时间】:2018-03-06 09:16:01
【问题描述】:

我有一个小程序,我可以从中下载另一个应用程序, 通过去ipa的plist, 从阅读到 url 需要很长时间,当我看到应用程序开始下降时, 有什么方法可以不花时间点击吗?

【问题讨论】:

  • 很多时间...
  • 示例代码:NSURL* url = [NSURL URLWithString:@"itms-services://?action=download-manifest&url=https://.....plist"] ; [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];

标签: ios xcode8 xcode9


【解决方案1】:
                let appId = "xxx"
            let storeUrl = String(format: "itms-apps://itunes.apple.com/app/id%@", arguments: [appId])
            UIApplication.shared.openURL(URL(string: storeUrl)!)

【讨论】:

  • 我商店里的应用
猜你喜欢
  • 1970-01-01
  • 2013-04-27
  • 2012-12-23
  • 2012-08-15
  • 2014-08-13
  • 1970-01-01
  • 1970-01-01
  • 2016-06-22
  • 2017-01-26
相关资源
最近更新 更多