是否可以将应用程序添加到本地共享对话框? [英] Is it possible to add an app to the native share dialog?

查看:40
本文介绍了是否可以将应用程序添加到本地共享对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我假设无法将应用程序添加到本机共享对话框中,就像相机胶卷"中使用的那样.但是,我在对话框中看到了带有不同应用程序的屏幕截图.

I am assuming it is not possible to add apps to the native share dialog, like the one used in the Camera Roll. However I see screenshots around with different apps in the dialog.

此对话框中是否只有集成在OS中的应用程序?还是有某种方案之类的可能?

Is it only apps that are integrated in the OS that can be in this dialog? Or is it possible with some scheme or something?

推荐答案

我研究了老虎"提到的 UIDocumentInteractionController 的可能性,并得出结论认为这是不可能的.

I have researched the possibilities of UIDocumentInteractionController mentioned by 'The Tiger' and came to the conclusion that it is not possible.

我查看了Apple文档,在info.plist中声明了文档类型适用于其他应用程序,但不适用于邮件,图像/相机胶卷等.本机共享对话框.

I have looked at the Apple Documentation, declaring the Document Types in the info.plist works for other apps but not for Mail, Images / Camera Roll / etc; the native share dialogs.

我真的不赞成投票.这里有一些引用说这是不可能的:

I really don't get the downvotes.... Here are some references that say it is not possible:

  • https://devforums.apple.com/thread/140939?tstart=0
  • why-cant-i-register-my-ios-application-to-handle-the-image-file-type
  • register-app-to-open-image-files
  • associate-audio-and-video-types-with-iphone-app
  • add-a-file-association-with-tiff-files-on-ios
  • associate-image-file-types-utis-with-ios-app-doesnt-show-open-in-in-m

这篇关于是否可以将应用程序添加到本地共享对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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