简体   繁体   English

URL方案无法在iPhone上打开Junos Pulse

[英]URL Scheme not opening Junos Pulse on iPhone

I'm trying to open Junos Pulse app from my app by calling this on an iPhone 5c and it doesn't open. 我试图通过在iPhone 5c上调用它来从我的应用程序中打开Junos Pulse应用程序,但该应用程序无法打开。

NSString *stringURL = @"junospulse://";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];

I got the URL Scheme from here: http://wiki.akosma.com/IPhone_URL_Schemes 我从这里获得了URL方案: http : //wiki.akosma.com/IPhone_URL_Schemes

It opens on an iPhone 4s and iPad but not iPhone 5c. 它可以在iPhone 4s和iPad上打开,但不能在iPhone 5c上打开。

I need to add this to the plist file for iOS 9. Where appurlscheme is the URL scheme for the app called in openURL . 我需要将其添加到iOS 9的plist文件中。其中appurlschemeopenURL调用的应用程序的URL方案。

<key>LSApplicationQueriesSchemes</key>
<array>
   <string>appurlscheme</string>
</array>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM