0

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.

enter image description here

Ganesh G
  • 1,991
  • 1
  • 24
  • 37
  • First check if Gmail and Yahoo! are installed in your device or not – Arnab Dec 01 '16 at 12:40
  • I installed Gmail and Yahoo mail apps in my device. But those are not listing in UIActivityViewController. – Ganesh G Dec 02 '16 at 04:57
  • Hope you didn't exclude those in `excludedActivityTypes`. You can create custom activity though. Check answer below. – Arnab Dec 02 '16 at 15:36

2 Answers2

0

First check if Gmail and Yahoo! are installed in your device or not. If still it doesn't show them, then try to create custom UIActivity.

Please check these links: Custom UIActivity for Gmail and Custom UIActivity

Hope these will help.

Community
  • 1
  • 1
Arnab
  • 4,216
  • 2
  • 28
  • 50
0

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

Dishant Rajput
  • 1,329
  • 1
  • 10
  • 20
  • I installed Gmail and Yahoo mail apps in my device. But those are not listing in UIActivityViewController. – Ganesh G Dec 02 '16 at 04:57