iOS Box应用程序是否响应自定义URL方案?
问题描述:
我很想能够直接从我自己的本机iOS应用程序启动本地Box iOS应用程序。例如,Dropbox使用db-api-1://
,Facebook使用fb://
,Square使用square://
等。iOS Box应用程序是否响应自定义URL方案?
用于iOS的盒子是否使用类似的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方案:箱,箱登录,箱上载所有和箱载,清一色直接。但它很难使用它们,如果你没有任何文档...
谢谢@ phix23,我不知道可以检查第三方应用程序的plists!自从几分钟前看到你的答案以来,我已经注意到了Box.app包,并确认了你的发现。令人着迷的是,你还可以看到他们的故事板,笔尖和PNG(等等)。再次感谢! – jpsim
http://developers.box.com/onecloud/有关每个计划如果你想在那里阅读更多的信息。 – seanrose
@seanrose你提到盒子方案列在文档中。这仍然是真的吗?我没有看到他们 – Paul