iOS Swift - Teile auf Instagram mit Untertiteln

Ich kann ein Bild erfolgreich auf @ freigebe Instagram Verwendung derUIDocumentInteractionController, aber dieInstagramCaption key funktioniert nicht. Das ist mein 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)

Was mache ich falsch

Antworten auf die Frage(2)

Ihre Antwort auf die Frage