![](/img/trans.png)
[英]How to register an app to respond to a custom URL scheme opening request?
[英]Does the iOS Box app respond to a custom URL scheme?
我很希望能够直接从我自己的本地iOS应用程序启动本地Box iOS应用程序。 例如,Dropbox使用db-api-1://
,Facebook使用fb://
,Square使用square://
,等等。
iOS版Box是否使用类似的URL方案? 如果是这样,是否有文档概述了可以解析的参数? 如果没有,还有其他从我的应用程序启动它的方法吗?
谢谢!
我检查了应用程序的Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.box.boxapp</string>
<key>CFBundleURLSchemes</key>
<array>
<string>box</string>
<string>box-login</string>
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string>com.box.docinteraction.upload</string>
<key>CFBundleURLSchemes</key>
<array>
<string>box-upload-all</string>
<string>box-upload-all-direct</string>
</array>
</dict>
</array>
因此,总共有4种url方案:box,box-login,box-upload-all和box-upload-all-direct。 但是如果您没有任何文档,则很难使用它们...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.