4

I share image and text using UIActivitycontroller it works fine for all application installed in device but in WhatsApp, it only share text not image. Why?

So, what i have to do share image and text together in WhatsApp in iOS.

Rengers
  • 14,911
  • 1
  • 36
  • 54

1 Answers1

5

You can post Image or Text on WhatsApp. However you can't post both at a time as whatsapp does not provide any API that you can add caption and post image with text.

Now there is an api available for interacting with WhatsApp:

http://www.whatsapp.com/faq/en/iphone/23559013

Also Find below helpful answer:

You can use the UIDocumentInteractionController as mentioned in the 2nd answer to this question as of August 4, 2014: Share image/text through WhatsApp in an iOS app

Karen Hovhannisyan
  • 1,140
  • 2
  • 21
  • 31