MFMailComposeViewController视图或任何子视图已被点击

时间:2017-01-24 17:05:48

标签: ios objective-c

目前,我在我的iOS应用程序中展示了MFMailComposerViewController。我想知道MFMailComposerViewController中的任何字段或视图何时与之交互。我尝试添加UIGestureRecognizer并在整个控制器上添加透明的UIView,但它无法正常工作。

当我向所有MFMailComposerViewController视图子视图添加手势识别器时,选择器永远不会被调用。

当我添加重叠视图时,我覆盖pointInside:withEvent并返回NO但MFMailComposerViewController视图不接收任何事件。

有没有人知道一个很好的解决方案,知道用户是否与MFMailComposerViewController进行了互动?

0 个答案:

没有答案