本文介绍了iOS Swift-在带字幕的Instagram上分享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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)

我在做什么错了?

推荐答案

请参阅问题 Instagram字幕不起作用

此功能已从iPhone挂钩中删除

This feature has been removed from the iPhone hook

这篇关于iOS Swift-在带字幕的Instagram上分享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 07:58