8

With the latest version of whatsapp, I cannot share both text and image at the same time.

I tried the below code:

let image:UIImage = UIImage(named:"ImageName")
objectsToShare = [image,"textToShare"]
let activityVC = UIActivityViewController(activityItems: objectsToShare, applicationActivities: nil)

With this code I am able to share only the text, but the other sharing apps(such as SMS, etc) are able to share both text and image.

Ahmad F
  • 30,560
  • 17
  • 97
  • 143

0 Answers0