获取“在...中打开"通过SDK在iOS中叠加 [英] Getting the "Open in..." overlay in iOS via SDK

查看:60
本文介绍了获取“在...中打开"通过SDK在iOS中叠加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iOS应用程序,可以通过UIDocumentInteractionController在其他应用程序中打开文档.和 presentOpenInMenuFromRect presentOpenInMenuFromBarButtonItem 都没有Safari样式的覆盖菜单,例如在查看PDF(例如)时获得的在...中打开",在iBooks中打开"和这些似乎是要求菜单的唯一方法.我的打开方式"菜单确实有效,但这并不是我要提供的UI体验.此功能是在私有框架中还是我缺少更明显的东西了?

I have an iOS app which offers the opportunity to open documents in other applications via UIDocumentInteractionController. Neither presentOpenInMenuFromRect nor presentOpenInMenuFromBarButtonItem does the Safari-style overlay menu of "Open in..." "Open in iBooks" that you get when viewing a PDF (for instance) and those appear to be the only ways to ask for a menu. My "Open In" menu does work, it's just not the UI experience I am trying to offer. Is this functionality in a private framework or am I missing something more obvious?

我怀疑这是一个带有2个按钮的工具栏,除非我自己动手,否则很难拥有它.仍在寻找确认或拒绝.

I suspect it's a toolbar with 2 buttons, and I just can't have it unless I build one myself, having looked harder. Still looking for confirmation or denial.

推荐答案

对不起,这是拒绝...在官方SDK下不能:

Sorry, it's denial... It's not possible under the official SDK to:

  • 获取打开特定文件的应用程序列表.
  • 在特定应用程序上打开特定文件(注册的URL方案除外).

这篇关于获取“在...中打开"通过SDK在iOS中叠加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆