UIDocumentInteractionController

UIDocumentInteractionController

本文介绍了UIActivityViewController和UIDocumentInteractionController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何组合UIActivityViewController和UIDocumentInteractionController?邮件应用程序和Tumblr应用程序似乎包含UIActivityViewController与UIDocumentInteractionController,因为他们的控制器还显示打开按钮除了UIActivities。

How do I combine a UIActivityViewController and a UIDocumentInteractionController? The Mail app and the Tumblr app seem to compine a UIActivityViewController with a UIDocumentInteractionController because their controllers also show the "Open in" buttons besides the UIActivities. How can I accomplish this?

推荐答案

使用 presentOptionsMenuFromRect:inView:animated: in UIDocumentInteractionController

Use presentOptionsMenuFromRect:inView:animated: in UIDocumentInteractionController

这篇关于UIActivityViewController和UIDocumentInteractionController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-09 22:08