如何将uigesturerecognizer添加到UIDocumentInteractionController Preview? [英] How to add uigesturerecognizer to UIDocumentInteractionController Preview?

查看:76
本文介绍了如何将uigesturerecognizer添加到UIDocumentInteractionController Preview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将手势识别器添加到UIDocumentInteractionController?现在,我无法在UIDocumentInteractionController预览上添加任何内容.请帮助如何在UIDocumentInteraction控制器顶部添加手势识别器甚至按钮?

Is it possible to add gesture recogniser to UIDocumentInteractionController? Right now I am not able to add anything on UIDocumentInteractionController preview. Please help how to add gesture recogniser or even a button on top of UIDocumentInteraction controller?

推荐答案

请参阅Apple文档中的UIDocumentInteractionController

See the apple documentation for UIDocumentInteractionController here

它们还提供了向UIDocumentInteractionController添加手势识别器的示例.请参见

They are also providing an example for add gesture recognizers to UIDocumentInteractionController.. See the link here..

这篇关于如何将uigesturerecognizer添加到UIDocumentInteractionController Preview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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