【问题标题】:iOS Swift - Share on Instagram with captionsiOS Swift - 在 Instagram 上分享字幕
【发布时间】:2015-08-10 22:03:28
【问题描述】:

我可以使用 UIDocumentInteractionControllerInstagram 上成功分享图片,但 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


    【解决方案1】:

    见问题Instagram Caption not working

    此功能已从 iPhone 挂钩中删除

    【讨论】:

    • 是的,我们对此感到非常惊讶。我认为这是因为他们正在准备他们的广告 API,该 API 将具有一些发布功能,但根据我在其上看到的新闻报道,目前它仅适用于广告合作伙伴
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多