如何在iOS中通过UIActivityViewController显示/添加Gmail和Yahoo邮件应用程序 [英] How to show/add Gmail and Yahoo mail apps through UIActivityViewController in iOS

查看:59
本文介绍了如何在iOS中通过UIActivityViewController显示/添加Gmail和Yahoo邮件应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过我的应用程序通过Message,Mail,Facebook,Twitter,Whatsapp,Gmail和Yahoo邮件应用程序共享某些内容,如以下屏幕所示.因此,我已经实现了UIActivityViewController来显示与应用程序的共享视图,但是没有添加Gmail和Yahoo应用程序来共享视图.一旦我安装了应用程序,便添加了Whatsapp,但没有安装Gmail和Yahoo应用程序.我们是否需要进行任何设置还是必须为Gmail和Yahoo应用实现自定义UIActivity类.请帮助我.

I have a requirement to share some content through Message, Mail, Facebook, Twitter, Whatsapp, Gmail and Yahoo mail apps from my application as shown in below screen. So I've implemented UIActivityViewController to show share view with apps but Gmail and Yahoo apps are not being added to share view. Whatsapp is being added once I installed the app but not Gmail and Yahoo apps. Do we have to do any settings or have to implement a custom UIActivity class for Gmail and Yahoo apps. Please help me on it.

推荐答案

您必须在设备中安装这些应用.仅已安装的应用程序显示在"UIActivityViewController"中.

You have to install theses apps in your device. Only Installed apps show in "UIActivityViewController".

这篇关于如何在iOS中通过UIActivityViewController显示/添加Gmail和Yahoo邮件应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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