I am able to successfully share an image on Instagram using the UIDocumentInteractionController
, but the InstagramCaption
key won't work. This is my code:
self.controller = UIDocumentInteractionController()
// controller.delegate = self
self.controller.URL = fileUri
// HERE, the caption won't appear.
self.controller.annotation = NSDictionary(objectsAndKeys: "my caption", "InstagramCaption")
self.controller.UTI = "com.instagram.exclusivegram"
self.controller.presentOpenInMenuFromRect(CGRectZero, inView: self.view, animated: true)
What am I doing wrong?
see question Instagram Caption not working
This feature has been removed from the iPhone hook
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With