0

I'm trying to let users share content on Facebook from my app:

let composeSheet = SLComposeViewController(forServiceType: SLServiceTypeFacebook)
            composeSheet.setInitialText(message)
            composeSheet.addURL(NSURL(string: shareUrl))
            composeSheet.addImage(img)
            presentViewController(composeSheet, animated: true, completion: nil)

This works fine, but it appears as an image post, and the link is just appended to the message. Is it possible to make it a link post where the whole image is hyperlinked to the specified URL? Or provide some sort of a "Call to Action" button?

Preferably with the native dialogue...

Anurag Sharma
  • 4,276
  • 2
  • 28
  • 44
Prabhu
  • 12,995
  • 33
  • 127
  • 210

0 Answers0