iOS Swift-在Instagram上共享,带字幕

iOS Swift-在Instagram上共享,带字幕,ios,swift,instagram,uidocumentinteraction,Ios,Swift,Instagram,Uidocumentinteraction,我可以使用UIDocumentInteractionController在Instagram上成功共享图像,但InstagramOption键不起作用。这是我的代码: self.controller = UIDocumentInteractionController() // controller.delegate = self self.controller.URL = fileUri // HERE, the caption won't appear. self.controller.a

我可以使用
UIDocumentInteractionController
Instagram上成功共享图像,但
InstagramOption
键不起作用。这是我的代码:

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)
我做错了什么?

参见问题


这项功能已从iPhone挂钩中删除

是的,我们对此感到非常惊讶。我认为这是因为他们正在准备他们的广告api,该api将具有一些发布功能,但根据我在其上看到的新闻报道,目前它仅对广告合作伙伴可用