繁体   English   中英

iOS Swift - 在Instagram上分享字幕

[英]iOS Swift - Share on Instagram with captions

我可以使用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)

我究竟做错了什么?

看问题Instagram标题不起作用

此功能已从iPhone挂钩中删除

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM