【发布时间】:2015-08-10 22:03:28
【问题描述】:
我可以使用 UIDocumentInteractionController 在 Instagram 上成功分享图片,但 InstagramCaption 键不起作用。这是我的代码:
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)
我做错了什么?
【问题讨论】:
标签: ios swift instagram uidocumentinteraction